This API is documented in OpenAPI format, You can find more information :
This API features Cross-Origin Resource Sharing (CORS) implemented in compliance with W3C spec. And that allows cross-domain communication from the browser. All responses have a wildcard same-origin which makes them completely public and accessible to everyone, including any code on any site.
Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.
lorem ipsum
| started required | date Example: started=2022-02-22T00:00:00.0000Z filter joined admin |
| ended required | date Example: ended=2022-02-24T00:00:00.0000Z filter joined admin |
| timezone | string Default: "UTC" Example: timezone=Asia/Jakarta setup timezone response |
{- "status": 0,
- "data": [
- {
- "name": 90,
- "address": 100
}
]
}| join | string Example: join=form,item,items multi value, divide with coma (,) |
| fields | string Example: fields=transfer_sent.* multi value, divide with coma (,) |
| sort_by | string Default: "name" Example: sort_by=-form.number Sort the result by a key |
| group_by | string Example: group_by=-form.id Group the result by a key |
object | |
object | |
object | |
| limit | integer Example: limit=10 Data limit |
| includes | string Example: includes=form,items.item multi value, divide with coma (,) |
| page | integer Example: page=1 Data page |
{- "meta": {
- "current_page": 0,
- "from": 0,
- "last_page": 0,
- "path": "string",
- "per_page": 0,
- "to": 0,
- "total": 0
}, - "links": {
- "first": "string",
- "last": "string",
- "prev": "string",
- "next": "string"
}, - "data": [
- {
- "id": 0,
- "warehouse_id": 0,
- "to_warehouse_id": 0,
- "driver": 0,
- "form": {
- "id": 0,
- "branch_id": 0,
- "date": null,
- "number": "string",
- "edited_number": "string",
- "edited_notes": "string",
- "notes": "string",
- "created_by": 0,
- "updated_by": 0,
- "done": 0,
- "increment": 0,
- "increment_group": 0,
- "formable_id": 0,
- "formable_type": "string",
- "request_approval_to": 0,
- "request_approval_at": null,
- "approval_by": 0,
- "approval_at": null,
- "approval_reason": 0,
- "approval_status": 0,
- "request_cancellation_to": 0,
- "request_cancellation_by": 0,
- "request_cancellation_at": null,
- "request_cancellation_reason": "string",
- "cancellation_approval_at": null,
- "cancellation_approval_by": 0,
- "cancellation_approval_reason": "string",
- "cancellation_status": 0,
- "created_at": null,
- "updated_at": null,
- "request_close_to": 0,
- "request_close_by": 0,
- "request_close_at": null,
- "request_close_reason": "string",
- "close_approval_at": null,
- "close_approval_by": 0,
- "close_status": 0
}, - "items": [
- {
- "id": 0,
- "transfer_item_id": 0,
- "item_id": 0,
- "item_name": "string",
- "quantity": 0,
- "expiry_date": null,
- "production_number": "string",
- "unit": "string",
- "converter": 0,
- "notes": "string",
- "stock": 0,
- "balance": 0,
- "item": {
- "id": 0,
- "chart_of_account_id": 0,
- "code": 0,
- "barcode": 0,
- "name": 0,
- "size": 0,
- "color": 0,
- "weight": 0,
- "notes": 0,
- "taxable": 0,
- "require_production_number": 0,
- "equire_expiry_date": 0,
- "stock": 0,
- "stock_reminder": 0,
- "unit_default": 0,
- "unit_default_purchase": 0,
- "unit_default_sales": 0,
- "created_by": 0,
- "updated_by": 0,
- "archived_by": 0,
- "created_at": null,
- "updated_at": null,
- "archived_at": null,
- "label": "string"
}
}
]
}
]
}lorem ipsum
| increment_group | string |
| date | date |
| warehouse_id | integer |
| warehouse_name | string |
| to_warehouse_id | integer |
| to_warehouse_name | string |
| driver | string |
| notes | string |
Array of objects | |
| request_approval_to | integer |
| approver_name | string |
| approver_email | string |
{- "increment_group": "string",
- "date": null,
- "warehouse_id": 0,
- "warehouse_name": "string",
- "to_warehouse_id": 0,
- "to_warehouse_name": "string",
- "driver": "string",
- "notes": "string",
- "items": [
- {
- "item_id": 0,
- "item_name": "string",
- "unit": "string",
- "converter": 0,
- "quantity": 0,
- "require_production_number": true,
- "require_expiry_date": true,
- "stock": 0,
- "balance": 0,
- "item": {
- "index": 0,
- "id": 0,
- "name": "string",
- "label": "string",
- "require_production_number": true,
- "require_expiry_date": true,
- "unit_default": 0,
- "unit_default_purchase": 0,
- "unit_default_sales": 0,
- "unit": {
- "id": 0,
- "label": "string",
- "name": "string",
- "converter": 0,
- "disabled": true,
- "item_id": 0,
- "created_by": 0,
- "update_by": 0,
- "created_at": null,
- "update_at": null,
- "price": 0
}, - "item_label": "string"
}, - "warehouse_id": 0,
- "index": 0,
- "dna": [
- {
- "id": 0,
- "form_id": 0,
- "warehouse_id": 0,
- "item_id": 0,
- "quantity": 0,
- "expiry_date": null,
- "production_number": "string",
- "need_recalculate": true,
- "quantity_reference": 0,
- "unit_reference": "string",
- "converter_reference": 0,
- "is_posted": true,
- "created_at": null,
- "updated_at": null,
- "remaining": 0,
- "remainingInUnit": 0
}
]
}
], - "request_approval_to": 0,
- "approver_name": "string",
- "approver_email": "string"
}{- "data": {
- "warehouse_id": 0,
- "to_warehouse_id": 0,
- "driver": 0,
- "id": "string",
- "form": {
- "id": 0,
- "branch_id": 0,
- "date": null,
- "number": "string",
- "edited_number": "string",
- "edited_notes": "string",
- "notes": "string",
- "created_by": 0,
- "updated_by": 0,
- "done": 0,
- "increment": 0,
- "increment_group": 0,
- "formable_id": 0,
- "formable_type": "string",
- "request_approval_to": 0,
- "request_approval_at": null,
- "approval_by": 0,
- "approval_at": null,
- "approval_reason": 0,
- "approval_status": 0,
- "request_cancellation_to": 0,
- "request_cancellation_by": 0,
- "request_cancellation_at": null,
- "request_cancellation_reason": "string",
- "cancellation_approval_at": null,
- "cancellation_approval_by": 0,
- "cancellation_approval_reason": "string",
- "cancellation_status": 0,
- "created_at": null,
- "updated_at": null,
- "request_close_to": 0,
- "request_close_by": 0,
- "request_close_at": null,
- "request_close_reason": "string",
- "close_approval_at": null,
- "close_approval_by": 0,
- "close_status": 0
}, - "warehouse": {
- "id": 0,
- "code": "string",
- "name": "string",
- "address": "string",
- "phone": "string",
- "notes": "string",
- "branch_id": 0,
- "created_by": 0,
- "updated_by": 0,
- "archived_by": 0,
- "created_at": null,
- "updated_at": null,
- "archived_at": null,
- "label": "string"
}, - "items": [
- {
- "id": 0,
- "transfer_item_id": 0,
- "item_id": 0,
- "item_name": "string",
- "quantity": 0,
- "expiry_date": null,
- "production_number": "string",
- "unit": "string",
- "converter": 0,
- "notes": "string",
- "stock": 0,
- "balance": 0,
- "item": {
- "id": 0,
- "chart_of_account_id": 0,
- "code": 0,
- "barcode": 0,
- "name": 0,
- "size": 0,
- "color": 0,
- "weight": 0,
- "notes": 0,
- "taxable": 0,
- "require_production_number": 0,
- "equire_expiry_date": 0,
- "stock": 0,
- "stock_reminder": 0,
- "unit_default": 0,
- "unit_default_purchase": 0,
- "unit_default_sales": 0,
- "created_by": 0,
- "updated_by": 0,
- "archived_by": 0,
- "created_at": null,
- "updated_at": null,
- "archived_at": null,
- "label": "string"
}
}
]
}
}| id required | integer Transfer Item ID |
| with_archives | boolean Default: true |
| with_origin | boolean Default: true |
| includes | string Example: includes=warehouse;to_warehouse;items.item;form.createdBy;form.requestApprovalTo;form.branch multi value, divide with coma (;) |
{- "data": {
- "id": 0,
- "warehouse_id": 0,
- "warehouse": {
- "id": 0,
- "code": "string",
- "name": "string",
- "address": "string",
- "phone": "string",
- "notes": "string",
- "branch_id": 0,
- "created_by": 0,
- "updated_by": 0,
- "archived_by": 0,
- "created_at": null,
- "updated_at": null,
- "archived_at": null,
- "label": "string"
}, - "to_warehouse_id": 0,
- "to_warehouse": {
- "id": 0,
- "code": "string",
- "name": "string",
- "address": "string",
- "phone": "string",
- "notes": "string",
- "branch_id": 0,
- "created_by": 0,
- "updated_by": 0,
- "archived_by": 0,
- "created_at": null,
- "updated_at": null,
- "archived_at": null,
- "label": "string"
}, - "driver": "string",
- "form": {
- "id": 0,
- "branch_id": 0,
- "date": null,
- "number": "string",
- "edited_number": "string",
- "edited_notes": "string",
- "notes": "string",
- "created_by": 0,
- "updated_by": 0,
- "done": 0,
- "increment": 0,
- "increment_group": 0,
- "formable_id": 0,
- "formable_type": "string",
- "request_approval_to": 0,
- "request_approval_at": null,
- "approval_by": 0,
- "approval_at": null,
- "approval_reason": 0,
- "approval_status": 0,
- "request_cancellation_to": 0,
- "request_cancellation_by": 0,
- "request_cancellation_at": null,
- "request_cancellation_reason": "string",
- "cancellation_approval_at": null,
- "cancellation_approval_by": 0,
- "cancellation_approval_reason": "string",
- "cancellation_status": 0,
- "created_at": null,
- "updated_at": null,
- "request_close_to": 0,
- "request_close_by": 0,
- "request_close_at": null,
- "request_close_reason": "string",
- "close_approval_at": null,
- "close_approval_by": 0,
- "close_status": 0
}, - "items": [
- {
- "id": 0,
- "transfer_item_id": 0,
- "item_id": 0,
- "item_name": "string",
- "quantity": 0,
- "expiry_date": null,
- "production_number": "string",
- "unit": "string",
- "converter": 0,
- "notes": "string",
- "stock": 0,
- "balance": 0,
- "item": {
- "id": 0,
- "chart_of_account_id": 0,
- "code": 0,
- "barcode": 0,
- "name": 0,
- "size": 0,
- "color": 0,
- "weight": 0,
- "notes": 0,
- "taxable": 0,
- "require_production_number": 0,
- "equire_expiry_date": 0,
- "stock": 0,
- "stock_reminder": 0,
- "unit_default": 0,
- "unit_default_purchase": 0,
- "unit_default_sales": 0,
- "created_by": 0,
- "updated_by": 0,
- "archived_by": 0,
- "created_at": null,
- "updated_at": null,
- "archived_at": null,
- "label": "string"
}
}
]
}
}| id required | integer Transfer Item ID |
| id | integer |
| increment_group | string |
| date | date |
| warehouse_id | integer |
| warehouse_name | string |
| to_warehouse_id | integer |
| to_warehouse_name | string |
| driver | string |
| notes | string |
Array of objects | |
| request_approval_to | integer |
| approver_name | string |
| approver_email | string |
{- "id": 0,
- "increment_group": "string",
- "date": null,
- "warehouse_id": 0,
- "warehouse_name": "string",
- "to_warehouse_id": 0,
- "to_warehouse_name": "string",
- "driver": "string",
- "notes": "string",
- "items": [
- {
- "item_id": 0,
- "item_name": "string",
- "unit": "string",
- "converter": 0,
- "quantity": 0,
- "require_production_number": true,
- "require_expiry_date": true,
- "stock": 0,
- "balance": 0,
- "item": {
- "index": 0,
- "id": 0,
- "name": "string",
- "label": "string",
- "require_production_number": true,
- "require_expiry_date": true,
- "unit_default": 0,
- "unit_default_purchase": 0,
- "unit_default_sales": 0,
- "unit": {
- "id": 0,
- "label": "string",
- "name": "string",
- "converter": 0,
- "disabled": true,
- "item_id": 0,
- "created_by": 0,
- "update_by": 0,
- "created_at": null,
- "update_at": null,
- "price": 0
}, - "item_label": "string"
}, - "warehouse_id": 0,
- "index": 0,
- "dna": [
- {
- "id": 0,
- "form_id": 0,
- "warehouse_id": 0,
- "item_id": 0,
- "quantity": 0,
- "expiry_date": null,
- "production_number": "string",
- "need_recalculate": true,
- "quantity_reference": 0,
- "unit_reference": "string",
- "converter_reference": 0,
- "is_posted": true,
- "created_at": null,
- "updated_at": null,
- "remaining": 0,
- "remainingInUnit": 0
}
]
}
], - "request_approval_to": 0,
- "approver_name": "string",
- "approver_email": "string"
}{- "data": {
- "id": 0,
- "warehouse_id": 0,
- "warehouse": {
- "id": 0,
- "code": "string",
- "name": "string",
- "address": "string",
- "phone": "string",
- "notes": "string",
- "branch_id": 0,
- "created_by": 0,
- "updated_by": 0,
- "archived_by": 0,
- "created_at": null,
- "updated_at": null,
- "archived_at": null,
- "label": "string"
}, - "to_warehouse_id": 0,
- "driver": "string",
- "form": {
- "id": 0,
- "branch_id": 0,
- "date": null,
- "number": "string",
- "edited_number": "string",
- "edited_notes": "string",
- "notes": "string",
- "created_by": 0,
- "updated_by": 0,
- "done": 0,
- "increment": 0,
- "increment_group": 0,
- "formable_id": 0,
- "formable_type": "string",
- "request_approval_to": 0,
- "request_approval_at": null,
- "approval_by": 0,
- "approval_at": null,
- "approval_reason": 0,
- "approval_status": 0,
- "request_cancellation_to": 0,
- "request_cancellation_by": 0,
- "request_cancellation_at": null,
- "request_cancellation_reason": "string",
- "cancellation_approval_at": null,
- "cancellation_approval_by": 0,
- "cancellation_approval_reason": "string",
- "cancellation_status": 0,
- "created_at": null,
- "updated_at": null,
- "request_close_to": 0,
- "request_close_by": 0,
- "request_close_at": null,
- "request_close_reason": "string",
- "close_approval_at": null,
- "close_approval_by": 0,
- "close_status": 0
}, - "items": [
- {
- "id": 0,
- "transfer_item_id": 0,
- "item_id": 0,
- "item_name": "string",
- "quantity": 0,
- "expiry_date": null,
- "production_number": "string",
- "unit": "string",
- "converter": 0,
- "notes": "string",
- "stock": 0,
- "balance": 0,
- "item": {
- "id": 0,
- "chart_of_account_id": 0,
- "code": 0,
- "barcode": 0,
- "name": 0,
- "size": 0,
- "color": 0,
- "weight": 0,
- "notes": 0,
- "taxable": 0,
- "require_production_number": 0,
- "equire_expiry_date": 0,
- "stock": 0,
- "stock_reminder": 0,
- "unit_default": 0,
- "unit_default_purchase": 0,
- "unit_default_sales": 0,
- "created_by": 0,
- "updated_by": 0,
- "archived_by": 0,
- "created_at": null,
- "updated_at": null,
- "archived_at": null,
- "label": "string"
}
}
]
}
}| join | string Example: join=form,item,items multi value, divide with coma (,) |
| fields | string Example: fields=transfer_receive.* multi value, divide with coma (,) |
| sort_by | string Default: "name" Example: sort_by=-form.number Sort the result by a key |
| group_by | string Example: group_by=-form.id Group the result by a key |
object | |
object | |
object | |
| limit | integer Example: limit=10 Data limit |
| includes | string Example: includes=form,items.item,from_warehouse,warehouse,transfer_item.form,transfer_item.items multi value, divide with coma (,) |
| page | integer Example: page=1 Data page |
{- "meta": {
- "current_page": 0,
- "from": 0,
- "last_page": 0,
- "path": "string",
- "per_page": 0,
- "to": 0,
- "total": 0
}, - "links": {
- "first": "string",
- "last": "string",
- "prev": "string",
- "next": "string"
}, - "data": [
- {
- "id": 0,
- "warehouse_id": 0,
- "from_warehouse_id": 0,
- "transfer_item_id": 0,
- "form": {
- "id": 0,
- "branch_id": 0,
- "date": null,
- "number": "string",
- "edited_number": "string",
- "edited_notes": "string",
- "notes": "string",
- "created_by": 0,
- "updated_by": 0,
- "done": 0,
- "increment": 0,
- "increment_group": 0,
- "formable_id": 0,
- "formable_type": "string",
- "request_approval_to": 0,
- "request_approval_at": null,
- "approval_by": 0,
- "approval_at": null,
- "approval_reason": 0,
- "approval_status": 0,
- "request_cancellation_to": 0,
- "request_cancellation_by": 0,
- "request_cancellation_at": null,
- "request_cancellation_reason": "string",
- "cancellation_approval_at": null,
- "cancellation_approval_by": 0,
- "cancellation_approval_reason": "string",
- "cancellation_status": 0,
- "created_at": null,
- "updated_at": null,
- "request_close_to": 0,
- "request_close_by": 0,
- "request_close_at": null,
- "request_close_reason": "string",
- "close_approval_at": null,
- "close_approval_by": 0,
- "close_status": 0
}, - "items": [
- {
- "id": 0,
- "receive_item_id": 0,
- "item_id": 0,
- "item_name": "string",
- "quantity": 0,
- "expiry_date": null,
- "production_number": "string",
- "unit": "string",
- "converter": 0,
- "notes": "string",
- "stock": 0,
- "balance": 0,
- "item": {
- "id": 0,
- "chart_of_account_id": 0,
- "code": 0,
- "barcode": 0,
- "name": 0,
- "size": 0,
- "color": 0,
- "weight": 0,
- "notes": 0,
- "taxable": 0,
- "require_production_number": 0,
- "require_expiry_date": 0,
- "stock": 0,
- "stock_reminder": 0,
- "unit_default": 0,
- "unit_default_purchase": 0,
- "unit_default_sales": 0,
- "created_by": 0,
- "updated_by": 0,
- "archived_by": 0,
- "created_at": null,
- "updated_at": null,
- "archived_at": null,
- "label": "string"
}
}
], - "from_warehouse": {
- "id": 0,
- "code": "string",
- "name": "string",
- "address": "string",
- "phone": "string",
- "notes": "string",
- "branch_id": 0,
- "created_by": 0,
- "updated_by": 0,
- "archived_by": 0,
- "created_at": null,
- "updated_at": null,
- "archived_at": null,
- "label": "string"
}, - "warehouse": {
- "id": 0,
- "code": "string",
- "name": "string",
- "address": "string",
- "phone": "string",
- "notes": "string",
- "branch_id": 0,
- "created_by": 0,
- "updated_by": 0,
- "archived_by": 0,
- "created_at": null,
- "updated_at": null,
- "archived_at": null,
- "label": "string"
}, - "transfer_item": {
- "id": 0,
- "warehouse_id": 0,
- "to_warehouse_id": 0,
- "driver": 0,
- "form": {
- "id": 0,
- "branch_id": 0,
- "date": null,
- "number": "string",
- "edited_number": "string",
- "edited_notes": "string",
- "notes": "string",
- "created_by": 0,
- "updated_by": 0,
- "done": 0,
- "increment": 0,
- "increment_group": 0,
- "formable_id": 0,
- "formable_type": "string",
- "request_approval_to": 0,
- "request_approval_at": null,
- "approval_by": 0,
- "approval_at": null,
- "approval_reason": 0,
- "approval_status": 0,
- "request_cancellation_to": 0,
- "request_cancellation_by": 0,
- "request_cancellation_at": null,
- "request_cancellation_reason": "string",
- "cancellation_approval_at": null,
- "cancellation_approval_by": 0,
- "cancellation_approval_reason": "string",
- "cancellation_status": 0,
- "created_at": null,
- "updated_at": null,
- "request_close_to": 0,
- "request_close_by": 0,
- "request_close_at": null,
- "request_close_reason": "string",
- "close_approval_at": null,
- "close_approval_by": 0,
- "close_status": 0
}, - "items": [
- {
- "id": 0,
- "transfer_item_id": 0,
- "item_id": 0,
- "item_name": "string",
- "quantity": 0,
- "expiry_date": null,
- "production_number": "string",
- "unit": "string",
- "converter": 0,
- "notes": "string",
- "stock": 0,
- "balance": 0,
- "item": {
- "id": 0,
- "chart_of_account_id": 0,
- "code": 0,
- "barcode": 0,
- "name": 0,
- "size": 0,
- "color": 0,
- "weight": 0,
- "notes": 0,
- "taxable": 0,
- "require_production_number": 0,
- "equire_expiry_date": 0,
- "stock": 0,
- "stock_reminder": 0,
- "unit_default": 0,
- "unit_default_purchase": 0,
- "unit_default_sales": 0,
- "created_by": 0,
- "updated_by": 0,
- "archived_by": 0,
- "created_at": null,
- "updated_at": null,
- "archived_at": null,
- "label": "string"
}
}
]
}
}
]
}| increment_group | string |
| date | date |
| warehouse_id | integer\ |
| from_warehouse_id | integer |
| notes | string |
Array of objects | |
| request_approval_to | integer |
| approver_name | string |
| approver_email | string |
| transfer_item_id | integer |
{- "increment_group": "string",
- "date": null,
- "warehouse_id": null,
- "from_warehouse_id": 0,
- "notes": "string",
- "items": [
- {
- "id": 0,
- "transfer_item_id": 0,
- "item_id": 0,
- "item_name": "string",
- "unit": "string",
- "converter": 0,
- "quantity": 0,
- "production_number": "string",
- "expiry_date": null,
- "notes": "string",
- "stock": 0,
- "balance": 0,
- "item": {
- "index": 0,
- "id": 0,
- "name": "string",
- "label": "string",
- "require_production_number": true,
- "require_expiry_date": true,
- "unit_default": 0,
- "unit_default_purchase": 0,
- "unit_default_sales": 0,
- "unit": {
- "id": 0,
- "label": "string",
- "name": "string",
- "converter": 0,
- "disabled": true,
- "item_id": 0,
- "created_by": 0,
- "update_by": 0,
- "created_at": null,
- "update_at": null,
- "price": 0
}, - "item_label": "string"
}
}
], - "request_approval_to": 0,
- "approver_name": "string",
- "approver_email": "string",
- "transfer_item_id": 0
}{- "data": {
- "warehouse_id": 0,
- "from_warehouse_id": 0,
- "transfer_item_id": 0,
- "id": "string",
- "form": {
- "id": 0,
- "branch_id": 0,
- "date": null,
- "number": "string",
- "edited_number": "string",
- "edited_notes": "string",
- "notes": "string",
- "created_by": 0,
- "updated_by": 0,
- "done": 0,
- "increment": 0,
- "increment_group": 0,
- "formable_id": 0,
- "formable_type": "string",
- "request_approval_to": 0,
- "request_approval_at": null,
- "approval_by": 0,
- "approval_at": null,
- "approval_reason": 0,
- "approval_status": 0,
- "request_cancellation_to": 0,
- "request_cancellation_by": 0,
- "request_cancellation_at": null,
- "request_cancellation_reason": "string",
- "cancellation_approval_at": null,
- "cancellation_approval_by": 0,
- "cancellation_approval_reason": "string",
- "cancellation_status": 0,
- "created_at": null,
- "updated_at": null,
- "request_close_to": 0,
- "request_close_by": 0,
- "request_close_at": null,
- "request_close_reason": "string",
- "close_approval_at": null,
- "close_approval_by": 0,
- "close_status": 0
}, - "warehouse": {
- "id": 0,
- "code": "string",
- "name": "string",
- "address": "string",
- "phone": "string",
- "notes": "string",
- "branch_id": 0,
- "created_by": 0,
- "updated_by": 0,
- "archived_by": 0,
- "created_at": null,
- "updated_at": null,
- "archived_at": null,
- "label": "string"
}, - "items": [
- {
- "id": 0,
- "receive_item_id": 0,
- "item_id": 0,
- "item_name": "string",
- "quantity": 0,
- "expiry_date": null,
- "production_number": "string",
- "unit": "string",
- "converter": 0,
- "notes": "string",
- "stock": 0,
- "balance": 0,
- "item": {
- "id": 0,
- "chart_of_account_id": 0,
- "code": 0,
- "barcode": 0,
- "name": 0,
- "size": 0,
- "color": 0,
- "weight": 0,
- "notes": 0,
- "taxable": 0,
- "require_production_number": 0,
- "equire_expiry_date": 0,
- "stock": 0,
- "stock_reminder": 0,
- "unit_default": 0,
- "unit_default_purchase": 0,
- "unit_default_sales": 0,
- "created_by": 0,
- "updated_by": 0,
- "archived_by": 0,
- "created_at": null,
- "updated_at": null,
- "archived_at": null,
- "label": "string"
}
}
]
}
}| id required | integer Receive Item ID |
| with_archives | boolean Default: true |
| with_origin | boolean Default: true |
| includes | string Example: includes=from_warehouse;warehouse;items.item;form.createdBy;form.requestApprovalTo;form.branch;transfer_item.form;transfer_item.items; multi value, divide with coma (;) |
{- "data": {
- "id": 0,
- "warehouse_id": 0,
- "from_warehouse_id": 0,
- "transfer_item_id": 0,
- "from_warehouse": {
- "id": 0,
- "code": "string",
- "name": "string",
- "address": "string",
- "phone": "string",
- "notes": "string",
- "branch_id": 0,
- "created_by": 0,
- "updated_by": 0,
- "archived_by": 0,
- "created_at": null,
- "updated_at": null,
- "archived_at": null,
- "label": "string"
}, - "warehouse": {
- "id": 0,
- "code": "string",
- "name": "string",
- "address": "string",
- "phone": "string",
- "notes": "string",
- "branch_id": 0,
- "created_by": 0,
- "updated_by": 0,
- "archived_by": 0,
- "created_at": null,
- "updated_at": null,
- "archived_at": null,
- "label": "string"
}, - "form": {
- "id": 0,
- "branch_id": 0,
- "date": null,
- "number": "string",
- "edited_number": "string",
- "edited_notes": "string",
- "notes": "string",
- "created_by": 0,
- "updated_by": 0,
- "done": 0,
- "increment": 0,
- "increment_group": 0,
- "formable_id": 0,
- "formable_type": "string",
- "request_approval_to": 0,
- "request_approval_at": null,
- "approval_by": 0,
- "approval_at": null,
- "approval_reason": 0,
- "approval_status": 0,
- "request_cancellation_to": 0,
- "request_cancellation_by": 0,
- "request_cancellation_at": null,
- "request_cancellation_reason": "string",
- "cancellation_approval_at": null,
- "cancellation_approval_by": 0,
- "cancellation_approval_reason": "string",
- "cancellation_status": 0,
- "created_at": null,
- "updated_at": null,
- "request_close_to": 0,
- "request_close_by": 0,
- "request_close_at": null,
- "request_close_reason": "string",
- "close_approval_at": null,
- "close_approval_by": 0,
- "close_status": 0
}, - "items": [
- {
- "id": 0,
- "transfer_item_id": 0,
- "item_id": 0,
- "item_name": "string",
- "quantity": 0,
- "expiry_date": null,
- "production_number": "string",
- "unit": "string",
- "converter": 0,
- "notes": "string",
- "stock": 0,
- "balance": 0,
- "item": {
- "id": 0,
- "chart_of_account_id": 0,
- "code": 0,
- "barcode": 0,
- "name": 0,
- "size": 0,
- "color": 0,
- "weight": 0,
- "notes": 0,
- "taxable": 0,
- "require_production_number": 0,
- "equire_expiry_date": 0,
- "stock": 0,
- "stock_reminder": 0,
- "unit_default": 0,
- "unit_default_purchase": 0,
- "unit_default_sales": 0,
- "created_by": 0,
- "updated_by": 0,
- "archived_by": 0,
- "created_at": null,
- "updated_at": null,
- "archived_at": null,
- "label": "string"
}
}
], - "transfer_item": {
- "id": 0,
- "warehouse_id": 0,
- "to_warehouse_id": 0,
- "driver": "string",
- "form": {
- "id": 0,
- "branch_id": 0,
- "date": null,
- "number": "string",
- "edited_number": "string",
- "edited_notes": "string",
- "notes": "string",
- "created_by": 0,
- "updated_by": 0,
- "done": 0,
- "increment": 0,
- "increment_group": 0,
- "formable_id": 0,
- "formable_type": "string",
- "request_approval_to": 0,
- "request_approval_at": null,
- "approval_by": 0,
- "approval_at": null,
- "approval_reason": 0,
- "approval_status": 0,
- "request_cancellation_to": 0,
- "request_cancellation_by": 0,
- "request_cancellation_at": null,
- "request_cancellation_reason": "string",
- "cancellation_approval_at": null,
- "cancellation_approval_by": 0,
- "cancellation_approval_reason": "string",
- "cancellation_status": 0,
- "created_at": null,
- "updated_at": null,
- "request_close_to": 0,
- "request_close_by": 0,
- "request_close_at": null,
- "request_close_reason": "string",
- "close_approval_at": null,
- "close_approval_by": 0,
- "close_status": 0
}, - "items": [
- {
- "id": 0,
- "transfer_item_id": 0,
- "item_id": 0,
- "item_name": "string",
- "quantity": 0,
- "expiry_date": null,
- "production_number": "string",
- "unit": "string",
- "converter": 0,
- "notes": "string",
- "stock": 0,
- "balance": 0
}
]
}
}
}| id required | integer Receive Item ID |
| id | integer |
| increment_group | string |
| date | date |
| warehouse_id | integer |
| from_warehouse_id | integer |
| from_warehouse_name | string |
| notes | string |
Array of objects | |
| request_approval_to | integer |
| approver_name | string |
| approver_email | string |
| transfer_item_id | integer |
| transfer_item_form_number | string |
| created_by | string |
{- "id": 0,
- "increment_group": "string",
- "date": null,
- "warehouse_id": 0,
- "from_warehouse_id": 0,
- "from_warehouse_name": "string",
- "notes": "string",
- "items": [
- {
- "id": 0,
- "receive_item_id": 0,
- "item_id": 0,
- "item_name": "string",
- "unit": "string",
- "converter": 0,
- "quantity": 0,
- "production_number": "string",
- "expiry_date": null,
- "notes": "string",
- "stock": 0,
- "balance": 0,
- "item": {
- "id": 0,
- "chart_of_account_id": 0,
- "code": "string",
- "barcode": "string",
- "name": "string",
- "size": "string",
- "color": "string",
- "weight": "string",
- "notes": "string",
- "taxable": true,
- "require_production_number": true,
- "require_expiry_date": true,
- "stock": 0,
- "stock_reminder": 0,
- "unit_default": 0,
- "unit_default_purchase": 0,
- "unit_default_sales": 0,
- "created_by": 0,
- "updated_by": 0,
- "archived_by": 0,
- "created_at": null,
- "updated_at": null,
- "archived_at": null,
- "label": "string"
}
}
], - "request_approval_to": 0,
- "approver_name": "string",
- "approver_email": "string",
- "transfer_item_id": 0,
- "transfer_item_form_number": "string",
- "created_by": "string"
}{- "data": {
- "id": 0,
- "warehouse_id": 0,
- "from_warehouse": {
- "id": 0,
- "code": "string",
- "name": "string",
- "address": "string",
- "phone": "string",
- "notes": "string",
- "branch_id": 0,
- "created_by": 0,
- "updated_by": 0,
- "archived_by": 0,
- "created_at": null,
- "updated_at": null,
- "archived_at": null,
- "label": "string"
}, - "from_warehouse_id": 0,
- "form": {
- "id": 0,
- "branch_id": 0,
- "date": null,
- "number": "string",
- "edited_number": "string",
- "edited_notes": "string",
- "notes": "string",
- "created_by": 0,
- "updated_by": 0,
- "done": 0,
- "increment": 0,
- "increment_group": 0,
- "formable_id": 0,
- "formable_type": "string",
- "request_approval_to": 0,
- "request_approval_at": null,
- "approval_by": 0,
- "approval_at": null,
- "approval_reason": 0,
- "approval_status": 0,
- "request_cancellation_to": 0,
- "request_cancellation_by": 0,
- "request_cancellation_at": null,
- "request_cancellation_reason": "string",
- "cancellation_approval_at": null,
- "cancellation_approval_by": 0,
- "cancellation_approval_reason": "string",
- "cancellation_status": 0,
- "created_at": null,
- "updated_at": null
}, - "items": [
- {
- "id": 0,
- "receive_item_id": 0,
- "item_id": 0,
- "item_name": "string",
- "quantity": 0,
- "expiry_date": null,
- "production_number": "string",
- "unit": "string",
- "converter": 0,
- "notes": "string",
- "stock": 0,
- "balance": 0,
- "item": {
- "id": 0,
- "chart_of_account_id": 0,
- "code": 0,
- "barcode": 0,
- "name": 0,
- "size": 0,
- "color": 0,
- "weight": 0,
- "notes": 0,
- "taxable": 0,
- "require_production_number": 0,
- "equire_expiry_date": 0,
- "stock": 0,
- "stock_reminder": 0,
- "unit_default": 0,
- "unit_default_purchase": 0,
- "unit_default_sales": 0,
- "created_by": 0,
- "updated_by": 0,
- "archived_by": 0,
- "created_at": null,
- "updated_at": null,
- "archived_at": null,
- "label": "string"
}
}
], - "transfer_item_id": 0
}
}object (inventory-usage-original-data) | |
required | Array of objects |
| increment_group | string |
| date | string |
| warehouse_id required | integer |
| warehouse_name | string |
| employee_id required | integer |
| employee_name | string |
| request_approval_to required | string |
| approver_name | string |
| approver_email | string |
| notes | string |
object |
{- "originalData": {
- "increment_group": "202210",
- "date": "2022-10-07 13:51:46",
- "warehouse_id": null,
- "warehouse_name": null,
- "employee_id": null,
- "employee_name": null,
- "request_approval_to": null,
- "approver_name": null,
- "approver_email": null,
- "notes": null,
- "items": [
- {
- "item_id": 7,
- "item_name": "kopi janji manis",
- "item_label": "kopi janji manis",
- "chart_of_account_id": 123,
- "chart_of_account_name": "[51107] ADMINISTRASI BANK",
- "require_expiry_date": 0,
- "require_production_number": 0,
- "unit": "PCS",
- "converter": 1,
- "quantity": "2",
- "allocation_id": 1,
- "allocation_name": "promosi",
- "notes": null,
- "more": false,
- "units": [
- {
- "id": 7,
- "label": "PCS",
- "name": "PCS",
- "converter": 1,
- "disabled": 0,
- "item_id": 7,
- "created_by": 1,
- "updated_by": 1,
- "created_at": "2022-09-30 09:03:42",
- "updated_at": "2022-09-30 09:03:42",
- "prices": [ ]
}, - {
- "id": 8,
- "label": "box",
- "name": "box",
- "converter": 24,
- "disabled": 0,
- "item_id": 7,
- "created_by": 1,
- "updated_by": 1,
- "created_at": "2022-09-30 09:03:42",
- "updated_at": "2022-09-30 09:03:42",
- "prices": [ ]
}
], - "item": {
- "index": 0,
- "id": 7,
- "name": "kopi janji manis",
- "label": "kopi janji manis",
- "require_expiry_date": 0,
- "require_production_number": 0,
- "unit_default": 7,
- "unit_default_purchase": 7,
- "unit_default_sales": 7,
- "units": [
- {
- "id": 7,
- "label": "PCS",
- "name": "PCS",
- "converter": 1,
- "disabled": 0,
- "item_id": 7,
- "created_by": 1,
- "updated_by": 1,
- "created_at": "2022-09-30 09:03:42",
- "updated_at": "2022-09-30 09:03:42",
- "prices": [ ]
}, - {
- "id": 8,
- "label": "box",
- "name": "box",
- "converter": 24,
- "disabled": 0,
- "item_id": 7,
- "created_by": 1,
- "updated_by": 1,
- "created_at": "2022-09-30 09:03:42",
- "updated_at": "2022-09-30 09:03:42",
- "prices": [ ]
}
], - "unit": {
- "id": 7,
- "label": "PCS",
- "name": "PCS",
- "converter": 1,
- "disabled": 0,
- "item_id": 7,
- "created_by": 1,
- "updated_by": 1,
- "created_at": "2022-09-30 09:03:42",
- "updated_at": "2022-09-30 09:03:42",
- "prices": [ ]
}
}
}
]
}, - "increment_group": "202210",
- "date": "2022-10-07 13:51:46",
- "warehouse_id": 1,
- "warehouse_name": "CENTRAL WAREHOUSE",
- "employee_id": 1,
- "employee_name": "Jhon Doe",
- "request_approval_to": 1,
- "approver_name": "admin admin",
- "approver_email": "rockydocky007@yahoo.com",
- "notes": null,
- "items": [
- {
- "item_id": 7,
- "item_name": "kopi janji manis",
- "item_label": "kopi janji manis",
- "chart_of_account_id": 123,
- "chart_of_account_name": "[51107] ADMINISTRASI BANK",
- "require_expiry_date": 0,
- "require_production_number": 0,
- "unit": "PCS",
- "converter": 1,
- "quantity": "2",
- "allocation_id": 1,
- "allocation_name": "promosi",
- "notes": null,
- "more": false,
- "units": [
- {
- "id": 7,
- "label": "PCS",
- "name": "PCS",
- "converter": 1,
- "disabled": 0,
- "item_id": 7,
- "created_by": 1,
- "updated_by": 1,
- "created_at": "2022-09-30 09:03:42",
- "updated_at": "2022-09-30 09:03:42",
- "prices": [ ]
}, - {
- "id": 8,
- "label": "box",
- "name": "box",
- "converter": 24,
- "disabled": 0,
- "item_id": 7,
- "created_by": 1,
- "updated_by": 1,
- "created_at": "2022-09-30 09:03:42",
- "updated_at": "2022-09-30 09:03:42",
- "prices": [ ]
}
], - "item": {
- "index": 0,
- "id": 7,
- "name": "kopi janji manis",
- "label": "kopi janji manis",
- "require_expiry_date": 0,
- "require_production_number": 0,
- "unit_default": 7,
- "unit_default_purchase": 7,
- "unit_default_sales": 7,
- "units": [
- {
- "id": 7,
- "label": "PCS",
- "name": "PCS",
- "converter": 1,
- "disabled": 0,
- "item_id": 7,
- "created_by": 1,
- "updated_by": 1,
- "created_at": "2022-09-30 09:03:42",
- "updated_at": "2022-09-30 09:03:42",
- "prices": [ ]
}, - {
- "id": 8,
- "label": "box",
- "name": "box",
- "converter": 24,
- "disabled": 0,
- "item_id": 7,
- "created_by": 1,
- "updated_by": 1,
- "created_at": "2022-09-30 09:03:42",
- "updated_at": "2022-09-30 09:03:42",
- "prices": [ ]
}
], - "unit": {
- "id": 7,
- "label": "PCS",
- "name": "PCS",
- "converter": 1,
- "disabled": 0,
- "item_id": 7,
- "created_by": 1,
- "updated_by": 1,
- "created_at": "2022-09-30 09:03:42",
- "updated_at": "2022-09-30 09:03:42",
- "prices": [ ]
}
}
}
], - "errors": {
- "errors": { }
}
}{- "data": {
- "warehouse_id": 1,
- "employee_id": 1,
- "id": 47,
- "warehouse": {
- "id": 1,
- "code": null,
- "name": "CENTRAL WAREHOUSE",
- "address": null,
- "phone": null,
- "notes": null,
- "branch_id": 1,
- "created_by": null,
- "updated_by": null,
- "archived_by": null,
- "created_at": "2022-09-26 08:14:40",
- "updated_at": "2022-09-26 08:14:40",
- "archived_at": null,
- "label": "CENTRAL WAREHOUSE"
}, - "form": {
- "id": 39,
- "branch_id": 1,
- "date": "2022-10-07 13:51:46",
- "number": "IU22100008",
- "edited_number": null,
- "edited_notes": null,
- "notes": null,
- "created_by": 1,
- "updated_by": 1,
- "done": 0,
- "increment": 8,
- "increment_group": 202210,
- "formable_id": 47,
- "formable_type": "InventoryUsage",
- "request_approval_to": {
- "id": 1,
- "name": "admin",
- "first_name": "admin",
- "last_name": "admin",
- "address": null,
- "phone": null,
- "email": "rockydocky007@yahoo.com",
- "created_at": "2022-09-26 08:14:36",
- "updated_at": "2022-09-26 08:14:36",
- "branch_id": null,
- "warehouse_id": null,
- "full_name": "admin admin"
}, - "approval_by": null,
- "approval_at": null,
- "approval_reason": null,
- "approval_status": 0,
- "request_cancellation_to": null,
- "request_cancellation_by": null,
- "request_cancellation_at": null,
- "request_cancellation_reason": null,
- "cancellation_approval_at": null,
- "cancellation_approval_by": null,
- "cancellation_approval_reason": null,
- "cancellation_status": null,
- "created_at": "2022-10-07 13:52:49",
- "updated_at": "2022-10-07 13:52:49",
- "request_close_to": null,
- "request_close_by": null,
- "request_close_at": null,
- "request_close_reason": null,
- "close_approval_at": null,
- "close_approval_by": null,
- "close_status": null,
- "request_approval_at": null,
- "close_approval_reason": null
}, - "items": [
- {
- "id": 27,
- "inventory_usage_id": 47,
- "item_id": 7,
- "allocation_id": 1,
- "chart_of_account_id": 123,
- "quantity": 2,
- "expiry_date": "2022-10-07 13:52:49",
- "production_number": null,
- "unit": "PCS",
- "converter": 1,
- "notes": null,
- "allocation": {
- "id": 1,
- "code": null,
- "name": "promosi",
- "notes": null,
- "branch_id": null,
- "created_by": 1,
- "updated_by": 1,
- "archived_by": null,
- "created_at": "2022-09-27 08:53:50",
- "updated_at": "2022-09-27 08:53:50",
- "archived_at": null,
- "label": "promosi"
}
}
]
}
}| join | string Example: join=form,warehouse,items,item |
| fields | string Example: fields=inventory_usage.* |
| sort_by | string Example: sort_by=-form.number |
| filter_form | string Example: filter_form=notArchived;null |
| filter_like | string Example: filter_like={} |
| filter_date_min | string Example: filter_date_min={"form.date":"2022-10-01+00:00:00"} |
| filter_date_max | string Example: filter_date_max={"form.date":"2022-10-07+23:59:59"} |
| limit | integer Example: limit=10 |
| includes | string Example: includes=form;warehouse;items;items.item |
| page | integer Example: page=1 |
{- "data": [
- {
- "id": 45,
- "warehouse_id": 1,
- "employee_id": 1,
- "form": {
- "id": 37,
- "branch_id": 1,
- "date": "2022-10-04 22:42:48",
- "number": "IU22100006",
- "edited_number": null,
- "edited_notes": null,
- "notes": null,
- "created_by": 1,
- "updated_by": 1,
- "done": 0,
- "increment": 6,
- "increment_group": 202210,
- "formable_id": 45,
- "formable_type": "InventoryUsage",
- "request_approval_to": 1,
- "approval_by": null,
- "approval_at": null,
- "approval_reason": null,
- "approval_status": 0,
- "request_cancellation_to": null,
- "request_cancellation_by": null,
- "request_cancellation_at": null,
- "request_cancellation_reason": null,
- "cancellation_approval_at": null,
- "cancellation_approval_by": null,
- "cancellation_approval_reason": null,
- "cancellation_status": null,
- "created_at": "2022-10-04 22:42:09",
- "updated_at": "2022-10-04 22:42:09",
- "request_close_to": null,
- "request_close_by": null,
- "request_close_at": null,
- "request_close_reason": null,
- "close_approval_at": null,
- "close_approval_by": null,
- "close_status": null,
- "request_approval_at": null,
- "close_approval_reason": null
}, - "warehouse": {
- "id": 1,
- "code": null,
- "name": "CENTRAL WAREHOUSE",
- "address": null,
- "phone": null,
- "notes": null,
- "branch_id": 1,
- "created_by": null,
- "updated_by": null,
- "archived_by": null,
- "created_at": "2022-09-26 08:14:40",
- "updated_at": "2022-09-26 08:14:40",
- "archived_at": null,
- "label": "CENTRAL WAREHOUSE"
}, - "items": [
- {
- "id": 25,
- "inventory_usage_id": 45,
- "item_id": 7,
- "allocation_id": 1,
- "chart_of_account_id": 128,
- "quantity": 11,
- "expiry_date": "2022-10-07 13:49:37",
- "production_number": null,
- "unit": "PCS",
- "converter": 1,
- "notes": null,
- "item": {
- "id": 7,
- "chart_of_account_id": 14,
- "code": null,
- "barcode": null,
- "name": "kopi janji manis",
- "size": null,
- "color": null,
- "weight": null,
- "notes": null,
- "taxable": 1,
- "require_production_number": 0,
- "require_expiry_date": 0,
- "stock": 541,
- "stock_reminder": 0,
- "unit_default": 7,
- "unit_default_purchase": 7,
- "unit_default_sales": 7,
- "created_by": 1,
- "updated_by": 1,
- "archived_by": null,
- "created_at": "2022-09-30 09:03:42",
- "updated_at": "2022-10-03 12:14:15",
- "archived_at": null,
- "label": "kopi janji manis"
}
}, - {
- "id": 20,
- "inventory_usage_id": 40,
- "item_id": 7,
- "allocation_id": 1,
- "chart_of_account_id": 124,
- "quantity": 12,
- "expiry_date": "2022-10-07 13:49:37",
- "production_number": null,
- "unit": "PCS",
- "converter": 1,
- "notes": null,
- "item": {
- "id": 7,
- "chart_of_account_id": 14,
- "code": null,
- "barcode": null,
- "name": "kopi janji manis",
- "size": null,
- "color": null,
- "weight": null,
- "notes": null,
- "taxable": 1,
- "require_production_number": 0,
- "require_expiry_date": 0,
- "stock": 541,
- "stock_reminder": 0,
- "unit_default": 7,
- "unit_default_purchase": 7,
- "unit_default_sales": 7,
- "created_by": 1,
- "updated_by": 1,
- "archived_by": null,
- "created_at": "2022-09-30 09:03:42",
- "updated_at": "2022-10-03 12:14:15",
- "archived_at": null,
- "label": "kopi janji manis"
}
}
]
}
], - "links": {
- "prev": null,
- "next": null
}, - "meta": {
- "current_page": 1,
- "from": 1,
- "last_page": 1,
- "per_page": "10",
- "to": 6,
- "total": 6
}
}| sort_by | string Example: sort_by=-user_activities.date |
| includes | string Example: includes=user |
| filter_like | string Example: filter_like={} |
| or_filter_where_has_like[] | string Example: or_filter_where_has_like[]={"user":{}} |
| limit | integer Example: limit=10 |
| page | integer Example: page=1 |
{- "data": [
- {
- "id": 43,
- "table_type": "InventoryUsage",
- "table_id": 43,
- "number": "IU22100004",
- "date": "2022-10-03 12:14:15",
- "user_id": 2,
- "activity": "Approved",
- "formable_id": 43,
- "user": {
- "id": 2,
- "name": "test123",
- "first_name": "test123",
- "last_name": "test123",
- "address": null,
- "phone": null,
- "email": "test123@point",
- "created_at": "2022-09-26 08:14:25",
- "updated_at": "2022-09-26 08:14:25",
- "branch_id": null,
- "warehouse_id": null,
- "full_name": "test123 test123"
}
}, - {
- "id": 42,
- "table_type": "InventoryUsage",
- "table_id": 43,
- "number": "IU22100004",
- "date": "2022-10-03 12:10:53",
- "user_id": 1,
- "activity": "Created",
- "formable_id": 43,
- "user": {
- "id": 1,
- "name": "admin",
- "first_name": "admin",
- "last_name": "admin",
- "address": null,
- "phone": null,
- "email": "rockydocky007@yahoo.com",
- "created_at": "2022-09-26 08:14:36",
- "updated_at": "2022-09-26 08:14:36",
- "branch_id": null,
- "warehouse_id": null,
- "full_name": "admin admin"
}
}
], - "links": {
- "prev": null,
- "next": null
}, - "meta": {
- "current_page": 1,
- "from": 1,
- "last_page": 1,
- "per_page": "10",
- "to": 2,
- "total": 2
}
}| id required | string Example: 46 |
| id required | integer |
{- "id": "46"
}{- "data": {
- "id": 46,
- "warehouse_id": 1,
- "employee_id": 1,
- "form": {
- "id": 38,
- "branch_id": 1,
- "date": "2022-10-07 13:51:46",
- "number": "IU22100007",
- "edited_number": null,
- "edited_notes": null,
- "notes": null,
- "created_by": 1,
- "updated_by": 1,
- "done": 0,
- "increment": 7,
- "increment_group": 202210,
- "formable_id": 46,
- "formable_type": "InventoryUsage",
- "request_approval_to": 1,
- "approval_by": 1,
- "approval_at": "2022-10-07T06:57:27.659339Z",
- "approval_reason": null,
- "approval_status": 1,
- "request_cancellation_to": null,
- "request_cancellation_by": null,
- "request_cancellation_at": null,
- "request_cancellation_reason": null,
- "cancellation_approval_at": null,
- "cancellation_approval_by": null,
- "cancellation_approval_reason": null,
- "cancellation_status": null,
- "created_at": "2022-10-07 13:52:29",
- "updated_at": "2022-10-07 13:57:27",
- "request_close_to": null,
- "request_close_by": null,
- "request_close_at": null,
- "request_close_reason": null,
- "close_approval_at": null,
- "close_approval_by": null,
- "close_status": null,
- "request_approval_at": null,
- "close_approval_reason": null
}, - "items": [
- {
- "id": 26,
- "inventory_usage_id": 46,
- "item_id": 7,
- "allocation_id": 1,
- "chart_of_account_id": 123,
- "quantity": 2,
- "expiry_date": "2022-10-07 13:57:27",
- "production_number": null,
- "unit": "PCS",
- "converter": 1,
- "notes": null,
- "item": {
- "id": 7,
- "chart_of_account_id": 14,
- "code": null,
- "barcode": null,
- "name": "kopi janji manis",
- "size": null,
- "color": null,
- "weight": null,
- "notes": null,
- "taxable": 1,
- "require_production_number": 0,
- "require_expiry_date": 0,
- "stock": 541,
- "stock_reminder": 0,
- "unit_default": 7,
- "unit_default_purchase": 7,
- "unit_default_sales": 7,
- "created_by": 1,
- "updated_by": 1,
- "archived_by": null,
- "created_at": "2022-09-30 09:03:42",
- "updated_at": "2022-10-03 12:14:15",
- "archived_at": null,
- "label": "kopi janji manis"
}, - "inventory_usage": {
- "id": 46,
- "warehouse_id": 1,
- "employee_id": 1,
- "warehouse": {
- "id": 1,
- "code": null,
- "name": "CENTRAL WAREHOUSE",
- "address": null,
- "phone": null,
- "notes": null,
- "branch_id": 1,
- "created_by": null,
- "updated_by": null,
- "archived_by": null,
- "created_at": "2022-09-26 08:14:40",
- "updated_at": "2022-09-26 08:14:40",
- "archived_at": null,
- "label": "CENTRAL WAREHOUSE"
}
}
}
]
}
}| id required | string Example: 47 |
| id required | integer |
| reason required | string |
{- "id": 47,
- "reason": "reject with note"
}{- "data": {
- "id": 47,
- "warehouse_id": 1,
- "employee_id": 1,
- "form": {
- "id": 39,
- "branch_id": 1,
- "date": "2022-10-07 13:51:46",
- "number": "IU22100008",
- "edited_number": null,
- "edited_notes": null,
- "notes": null,
- "created_by": 1,
- "updated_by": 1,
- "done": 0,
- "increment": 8,
- "increment_group": 202210,
- "formable_id": 47,
- "formable_type": "InventoryUsage",
- "request_approval_to": 1,
- "approval_by": 1,
- "approval_at": "2022-10-07T06:59:50.484977Z",
- "approval_reason": "reject with note",
- "approval_status": -1,
- "request_cancellation_to": null,
- "request_cancellation_by": null,
- "request_cancellation_at": null,
- "request_cancellation_reason": null,
- "cancellation_approval_at": null,
- "cancellation_approval_by": null,
- "cancellation_approval_reason": null,
- "cancellation_status": null,
- "created_at": "2022-10-07 13:52:49",
- "updated_at": "2022-10-07 13:59:50",
- "request_close_to": null,
- "request_close_by": null,
- "request_close_at": null,
- "request_close_reason": null,
- "close_approval_at": null,
- "close_approval_by": null,
- "close_status": null,
- "request_approval_at": null,
- "close_approval_reason": null
}
}
}| join | string Example: join=form,details,account,employee |
| sort_by | string Example: sort_by=-form.number |
| group_by | string Example: group_by=cash_advance.id |
| fields | string Example: fields=cash_advance.* |
| filter_form | string Example: filter_form=notArchived;null |
| filter_like | string Example: filter_like={} |
| filter_date_min | string Example: filter_date_min={"form.date":"20220501 00:00:00"} |
| filter_date_max | string Example: filter_date_max={"form.date":"20220514 23:59:59"} |
| limit | integer Example: limit=10 |
| includes | string Example: includes=employee;form;details.account; |
| page | integer Example: page=1 |
{- "links": {
- "first": "string",
- "last": "string",
- "prev": "string",
- "next": "string"
}, - "meta": {
- "current_page": 0,
- "from": 0,
- "last_page": 0,
- "path": "string",
- "per_page": "string",
- "to": 0,
- "total": 0
}, - "data": [
- {
- "id": 0,
- "payment_type": "string",
- "employee_id": 0,
- "amount": 0,
- "amount_remaining": 0,
- "created_at": "string",
- "archived_at": "string",
- "last_request_approval_at": "string",
- "employee": {
- "id": 0,
- "code": "string",
- "tax_identification_number": "string",
- "name": "string",
- "address": "string",
- "city": "string",
- "state": "string",
- "country": "string",
- "zip_code": "string",
- "latitude": "string",
- "longitude": "string",
- "phone": "string",
- "phone_cc": "string",
- "email": "string",
- "bpjs": "string",
- "resign_date": "string",
- "personal_identity": "string",
- "last_education": "string",
- "birth_date": "string",
- "birth_place": "string",
- "employee_gender_id": "string",
- "employee_marital_status_id": "string",
- "married_with": "string",
- "employee_religion_id": "string",
- "employee_group_id": "string",
- "employee_status_id": "string",
- "employee_job_location_id": "string",
- "join_date": "string",
- "job_title": "string",
- "kpi_template_id": "string",
- "notes": "string",
- "daily_transport_allowance": 0,
- "functional_allowance": 0,
- "communication_allowance": 0,
- "branch_id": "string",
- "user_id": "string",
- "created_by": "string",
- "updated_by": "string",
- "archived_by": "string",
- "created_at": "string",
- "updated_at": "string",
- "archived_at": "string",
- "label": "string"
}, - "form": {
- "id": 0,
- "branch_id": 0,
- "date": "string",
- "number": "string",
- "edited_number": "string",
- "edited_notes": "string",
- "notes": "string",
- "created_by": 0,
- "updated_by": 0,
- "done": 0,
- "increment": 0,
- "increment_group": 0,
- "formable_id": 0,
- "formable_type": "string",
- "request_approval_to": 0,
- "approval_by": 0,
- "approval_at": "string",
- "approval_reason": "string",
- "approval_status": 0,
- "request_cancellation_to": "string",
- "request_cancellation_by": "string",
- "request_cancellation_at": "string",
- "request_cancellation_reason": "string",
- "cancellation_approval_at": "string",
- "cancellation_approval_by": "string",
- "cancellation_approval_reason": "string",
- "cancellation_status": "string",
- "created_at": "string",
- "updated_at": "string"
}, - "details": [
- {
- "id": 0,
- "cash_advance_id": 0,
- "chart_of_account_id": 0,
- "amount": 0,
- "notes": "string",
- "account": {
- "id": 0,
- "type_id": 0,
- "group_id": "string",
- "is_sub_ledger": 0,
- "sub_ledger": "string",
- "position": "string",
- "is_locked": 0,
- "cash_flow": "string",
- "cash_flow_position": "string",
- "number": "string",
- "name": "string",
- "alias": "string",
- "created_by": "string",
- "updated_by": "string",
- "archived_by": "string",
- "created_at": "string",
- "updated_at": "string",
- "archived_at": "string",
- "label": "string"
}
}
]
}
]
}| increment_group | integer |
| date | string |
| payment_type | string |
| employee_id | integer |
| employee_name | string |
| request_approval_to | integer |
| approver_name | string |
| approver_email | string |
| amount | integer |
| notes | string |
| activity | string |
| details[0][chart_of_account_id] | integer |
| details[0][chart_of_account_name] | string |
| details[0][amount] | integer |
| details[0][notes] | string |
{- "data": {
- "payment_type": "string",
- "employee_id": "string",
- "amount": 0,
- "amount_remaining": 0,
- "created_at": "string",
- "id": 0,
- "form": {
- "id": 0,
- "branch_id": 0,
- "date": "string",
- "number": "string",
- "edited_number": "string",
- "edited_notes": "string",
- "notes": "string",
- "created_by": 0,
- "updated_by": 0,
- "done": 0,
- "increment": 0,
- "increment_group": 0,
- "formable_id": 0,
- "formable_type": "string",
- "request_approval_to": 0,
- "approval_by": "string",
- "approval_at": "string",
- "approval_reason": "string",
- "approval_status": 0,
- "request_cancellation_to": "string",
- "request_cancellation_by": "string",
- "request_cancellation_at": "string",
- "request_cancellation_reason": "string",
- "cancellation_approval_at": "string",
- "cancellation_approval_by": "string",
- "cancellation_approval_reason": "string",
- "cancellation_status": "string",
- "created_at": "string",
- "updated_at": "string"
}, - "details": [
- {
- "id": 0,
- "cash_advance_id": 0,
- "chart_of_account_id": 0,
- "amount": 0,
- "notes": "string",
- "account": {
- "id": 0,
- "type_id": 0,
- "group_id": "string",
- "is_sub_ledger": 0,
- "sub_ledger": "string",
- "position": "string",
- "is_locked": 0,
- "cash_flow": "string",
- "cash_flow_position": "string",
- "number": "string",
- "name": "string",
- "alias": "string",
- "created_by": "string",
- "updated_by": "string",
- "archived_by": "string",
- "created_at": "string",
- "updated_at": "string",
- "archived_at": "string",
- "label": "string"
}
}
], - "employee": {
- "id": 0,
- "code": "string",
- "tax_identification_number": "string",
- "name": "string",
- "address": "string",
- "city": "string",
- "state": "string",
- "country": "string",
- "zip_code": "string",
- "latitude": "string",
- "longitude": "string",
- "phone": "string",
- "phone_cc": "string",
- "email": "string",
- "bpjs": "string",
- "resign_date": "string",
- "personal_identity": "string",
- "last_education": "string",
- "birth_date": "string",
- "birth_place": "string",
- "employee_gender_id": "string",
- "employee_marital_status_id": "string",
- "married_with": "string",
- "employee_religion_id": "string",
- "employee_group_id": "string",
- "employee_status_id": "string",
- "employee_job_location_id": "string",
- "join_date": "string",
- "job_title": "string",
- "kpi_template_id": "string",
- "notes": "string",
- "daily_transport_allowance": 0,
- "functional_allowance": 0,
- "communication_allowance": 0,
- "branch_id": "string",
- "user_id": "string",
- "created_by": "string",
- "updated_by": "string",
- "archived_by": "string",
- "created_at": "string",
- "updated_at": "string",
- "archived_at": "string",
- "label": "string"
}
}
}| includes | string Example: includes=employee;form;details.account;form.requestApprovalTo;form.branch |
{- "data": {
- "id": 0,
- "payment_type": "string",
- "employee_id": 0,
- "amount": 0,
- "amount_remaining": 0,
- "created_at": "string",
- "archived_at": "string",
- "last_request_approval_at": "string",
- "employee": {
- "id": 0,
- "code": "string",
- "tax_identification_number": "string",
- "name": "string",
- "address": "string",
- "city": "string",
- "state": "string",
- "country": "string",
- "zip_code": "string",
- "latitude": "string",
- "longitude": "string",
- "phone": "string",
- "phone_cc": "string",
- "email": "string",
- "bpjs": "string",
- "resign_date": "string",
- "personal_identity": "string",
- "last_education": "string",
- "birth_date": "string",
- "birth_place": "string",
- "employee_gender_id": "string",
- "employee_marital_status_id": "string",
- "married_with": "string",
- "employee_religion_id": "string",
- "employee_group_id": "string",
- "employee_status_id": "string",
- "employee_job_location_id": "string",
- "join_date": "string",
- "job_title": "string",
- "kpi_template_id": "string",
- "notes": "string",
- "daily_transport_allowance": 0,
- "functional_allowance": 0,
- "communication_allowance": 0,
- "branch_id": "string",
- "user_id": "string",
- "created_by": "string",
- "updated_by": "string",
- "archived_by": "string",
- "created_at": "string",
- "updated_at": "string",
- "archived_at": "string",
- "label": "string"
}, - "form": {
- "id": 0,
- "branch_id": 0,
- "date": "string",
- "number": "string",
- "edited_number": "string",
- "edited_notes": "string",
- "notes": "string",
- "created_by": 0,
- "updated_by": 0,
- "done": 0,
- "increment": 0,
- "increment_group": 0,
- "formable_id": 0,
- "formable_type": "string",
- "request_approval_to": {
- "id": 0,
- "name": "string",
- "first_name": "string",
- "last_name": "string",
- "address": "string",
- "phone": "string",
- "email": "string",
- "created_at": "string",
- "updated_at": "string",
- "branch_id": "string",
- "warehouse_id": "string",
- "full_name": "string"
}, - "approval_by": 0,
- "approval_at": "string",
- "approval_reason": "string",
- "approval_status": 0,
- "request_cancellation_to": "string",
- "request_cancellation_by": "string",
- "request_cancellation_at": "string",
- "request_cancellation_reason": "string",
- "cancellation_approval_at": "string",
- "cancellation_approval_by": "string",
- "cancellation_approval_reason": "string",
- "cancellation_status": "string",
- "created_at": "string",
- "updated_at": "string",
- "is_updated": true,
- "branch": {
- "id": 0,
- "name": "string",
- "address": "string",
- "phone": "string",
- "created_by": "string",
- "updated_by": "string",
- "archived_by": "string",
- "created_at": "string",
- "updated_at": "string",
- "archived_at": "string"
}
}, - "details": [
- {
- "id": 0,
- "cash_advance_id": 0,
- "chart_of_account_id": 0,
- "amount": 0,
- "notes": "string",
- "account": {
- "id": 0,
- "type_id": 0,
- "group_id": "string",
- "is_sub_ledger": 0,
- "sub_ledger": "string",
- "position": "string",
- "is_locked": 0,
- "cash_flow": "string",
- "cash_flow_position": "string",
- "number": "string",
- "name": "string",
- "alias": "string",
- "created_by": "string",
- "updated_by": "string",
- "archived_by": "string",
- "created_at": "string",
- "updated_at": "string",
- "archived_at": "string",
- "label": "string"
}
}
]
}
}| id | integer |
| increment_group | integer |
| date | string |
| number | string |
| payment_type | string |
| employee_id | integer |
| employee_name | string |
| request_approval_to | integer |
| approver_name | string |
| approver_email | string |
| amount | integer |
| notes | string |
| activity | string |
| details[0][chart_of_account_id] | integer |
| details[0][chart_of_account_name] | string |
| details[0][amount] | integer |
| details[0][notes] | string |
{- "data": {
- "payment_type": "string",
- "employee_id": "string",
- "amount": 0,
- "amount_remaining": 0,
- "created_at": "string",
- "id": 0,
- "form": {
- "id": 0,
- "branch_id": 0,
- "date": "string",
- "number": "string",
- "edited_number": "string",
- "edited_notes": "string",
- "notes": "string",
- "created_by": 0,
- "updated_by": 0,
- "done": 0,
- "increment": 0,
- "increment_group": 0,
- "formable_id": 0,
- "formable_type": "string",
- "request_approval_to": 0,
- "approval_by": "string",
- "approval_at": "string",
- "approval_reason": "string",
- "approval_status": 0,
- "request_cancellation_to": "string",
- "request_cancellation_by": "string",
- "request_cancellation_at": "string",
- "request_cancellation_reason": "string",
- "cancellation_approval_at": "string",
- "cancellation_approval_by": "string",
- "cancellation_approval_reason": "string",
- "cancellation_status": "string",
- "created_at": "string",
- "updated_at": "string"
}, - "details": [
- {
- "id": 0,
- "cash_advance_id": 0,
- "chart_of_account_id": 0,
- "amount": 0,
- "notes": "string",
- "account": {
- "id": 0,
- "type_id": 0,
- "group_id": "string",
- "is_sub_ledger": 0,
- "sub_ledger": "string",
- "position": "string",
- "is_locked": 0,
- "cash_flow": "string",
- "cash_flow_position": "string",
- "number": "string",
- "name": "string",
- "alias": "string",
- "created_by": "string",
- "updated_by": "string",
- "archived_by": "string",
- "created_at": "string",
- "updated_at": "string",
- "archived_at": "string",
- "label": "string"
}
}
], - "employee": {
- "id": 0,
- "code": "string",
- "tax_identification_number": "string",
- "name": "string",
- "address": "string",
- "city": "string",
- "state": "string",
- "country": "string",
- "zip_code": "string",
- "latitude": "string",
- "longitude": "string",
- "phone": "string",
- "phone_cc": "string",
- "email": "string",
- "bpjs": "string",
- "resign_date": "string",
- "personal_identity": "string",
- "last_education": "string",
- "birth_date": "string",
- "birth_place": "string",
- "employee_gender_id": "string",
- "employee_marital_status_id": "string",
- "married_with": "string",
- "employee_religion_id": "string",
- "employee_group_id": "string",
- "employee_status_id": "string",
- "employee_job_location_id": "string",
- "join_date": "string",
- "job_title": "string",
- "kpi_template_id": "string",
- "notes": "string",
- "daily_transport_allowance": 0,
- "functional_allowance": 0,
- "communication_allowance": 0,
- "branch_id": "string",
- "user_id": "string",
- "created_by": "string",
- "updated_by": "string",
- "archived_by": "string",
- "created_at": "string",
- "updated_at": "string",
- "archived_at": "string",
- "label": "string"
}
}
}| id | integer |
| activity | string |
{- "data": {
- "id": 0,
- "payment_type": "string",
- "employee_id": 0,
- "amount": 0,
- "amount_remaining": 0,
- "created_at": "string",
- "archived_at": "string",
- "last_request_approval_at": "string",
- "form": {
- "id": 0,
- "branch_id": 0,
- "date": "string",
- "number": "string",
- "edited_number": "string",
- "edited_notes": "string",
- "notes": "string",
- "created_by": 0,
- "updated_by": 0,
- "done": 0,
- "increment": 0,
- "increment_group": 0,
- "formable_id": 0,
- "formable_type": "string",
- "request_approval_to": 0,
- "approval_by": "string",
- "approval_at": "string",
- "approval_reason": "string",
- "approval_status": 0,
- "request_cancellation_to": 0,
- "request_cancellation_by": 0,
- "request_cancellation_at": "string",
- "request_cancellation_reason": "string",
- "cancellation_approval_at": "string",
- "cancellation_approval_by": 0,
- "cancellation_approval_reason": "string",
- "cancellation_status": 0,
- "created_at": "string",
- "updated_at": "string"
}
}
}| id | integer |
| activity | string |
{- "data": {
- "id": 0,
- "payment_type": "string",
- "employee_id": 0,
- "amount": 0,
- "amount_remaining": 0,
- "created_at": "string",
- "archived_at": "string",
- "last_request_approval_at": "string",
- "form": {
- "id": 0,
- "branch_id": 0,
- "date": "string",
- "number": "string",
- "edited_number": "string",
- "edited_notes": "string",
- "notes": "string",
- "created_by": 0,
- "updated_by": 0,
- "done": 0,
- "increment": 0,
- "increment_group": 0,
- "formable_id": 0,
- "formable_type": "string",
- "request_approval_to": 0,
- "approval_by": "string",
- "approval_at": "string",
- "approval_reason": "string",
- "approval_status": 0,
- "request_cancellation_to": 0,
- "request_cancellation_by": 0,
- "request_cancellation_at": "string",
- "request_cancellation_reason": "string",
- "cancellation_approval_at": "string",
- "cancellation_approval_by": 0,
- "cancellation_approval_reason": "string",
- "cancellation_status": 0,
- "created_at": "string",
- "updated_at": "string"
}
}
}| token | string |
| id | integer |
| status | string |
| activity | string |
{- "data": {
- "id": 0,
- "payment_type": "string",
- "employee_id": 0,
- "amount": 0,
- "amount_remaining": 0,
- "created_at": "string",
- "archived_at": "string",
- "last_request_approval_at": "string",
- "details": [
- {
- "id": 0,
- "cash_advance_id": 0,
- "chart_of_account_id": 0,
- "amount": 0,
- "notes": "string"
}
], - "form": {
- "id": 0,
- "branch_id": 0,
- "date": "string",
- "number": "string",
- "edited_number": "string",
- "edited_notes": "string",
- "notes": "string",
- "created_by": 0,
- "updated_by": 0,
- "done": 0,
- "increment": 0,
- "increment_group": 0,
- "formable_id": 0,
- "formable_type": "string",
- "request_approval_to": 0,
- "approval_by": 0,
- "approval_at": "string",
- "approval_reason": "string",
- "approval_status": 0,
- "request_cancellation_to": "string",
- "request_cancellation_by": "string",
- "request_cancellation_at": "string",
- "request_cancellation_reason": "string",
- "cancellation_approval_at": "string",
- "cancellation_approval_by": "string",
- "cancellation_approval_reason": "string",
- "cancellation_status": "string",
- "created_at": "string",
- "updated_at": "string"
}
}
}| token | string |
| bulk_id | Array of integers |
| status | string |
| activity | string |
{- "data": [
- {
- "id": 0,
- "payment_type": "string",
- "employee_id": 0,
- "amount": 0,
- "amount_remaining": 0,
- "created_at": "string",
- "archived_at": "string",
- "last_request_approval_at": "string",
- "details": [
- {
- "id": 0,
- "cash_advance_id": 0,
- "chart_of_account_id": 0,
- "amount": 0,
- "notes": "string"
}
], - "form": {
- "id": 0,
- "branch_id": 0,
- "date": "string",
- "number": "string",
- "edited_number": "string",
- "edited_notes": "string",
- "notes": "string",
- "created_by": 0,
- "updated_by": 0,
- "done": 0,
- "increment": 0,
- "increment_group": 0,
- "formable_id": 0,
- "formable_type": "string",
- "request_approval_to": 0,
- "approval_by": 0,
- "approval_at": "string",
- "approval_reason": "string",
- "approval_status": 0,
- "request_cancellation_to": "string",
- "request_cancellation_by": "string",
- "request_cancellation_at": "string",
- "request_cancellation_reason": "string",
- "cancellation_approval_at": "string",
- "cancellation_approval_by": "string",
- "cancellation_approval_reason": "string",
- "cancellation_status": "string",
- "created_at": "string",
- "updated_at": "string"
}
}
]
}| id | integer |
| activity | string |
{- "data": {
- "id": 0,
- "payment_type": "string",
- "employee_id": 0,
- "amount": 0,
- "amount_remaining": 0,
- "created_at": "string",
- "archived_at": "string",
- "last_request_approval_at": "string",
- "details": [
- {
- "id": 0,
- "cash_advance_id": 0,
- "chart_of_account_id": 0,
- "amount": 0,
- "notes": "string"
}
], - "form": {
- "id": 0,
- "branch_id": 0,
- "date": "string",
- "number": "string",
- "edited_number": "string",
- "edited_notes": "string",
- "notes": "string",
- "created_by": 0,
- "updated_by": 0,
- "done": 0,
- "increment": 0,
- "increment_group": 0,
- "formable_id": 0,
- "formable_type": "string",
- "request_approval_to": 0,
- "approval_by": 0,
- "approval_at": "string",
- "approval_reason": "string",
- "approval_status": 0,
- "request_cancellation_to": "string",
- "request_cancellation_by": "string",
- "request_cancellation_at": "string",
- "request_cancellation_reason": "string",
- "cancellation_approval_at": "string",
- "cancellation_approval_by": "string",
- "cancellation_approval_reason": "string",
- "cancellation_status": "string",
- "created_at": "string",
- "updated_at": "string"
}
}
}| id | integer |
| activity | string |
{- "data": {
- "id": 0,
- "payment_type": "string",
- "employee_id": 0,
- "amount": 0,
- "amount_remaining": 0,
- "created_at": "string",
- "archived_at": "string",
- "last_request_approval_at": "string",
- "details": [
- {
- "id": 0,
- "cash_advance_id": 0,
- "chart_of_account_id": 0,
- "amount": 0,
- "notes": "string"
}
], - "form": {
- "id": 0,
- "branch_id": 0,
- "date": "string",
- "number": "string",
- "edited_number": "string",
- "edited_notes": "string",
- "notes": "string",
- "created_by": 0,
- "updated_by": 0,
- "done": 0,
- "increment": 0,
- "increment_group": 0,
- "formable_id": 0,
- "formable_type": "string",
- "request_approval_to": 0,
- "approval_by": 0,
- "approval_at": "string",
- "approval_reason": "string",
- "approval_status": 0,
- "request_cancellation_to": "string",
- "request_cancellation_by": "string",
- "request_cancellation_at": "string",
- "request_cancellation_reason": "string",
- "cancellation_approval_at": "string",
- "cancellation_approval_by": "string",
- "cancellation_approval_reason": "string",
- "cancellation_status": "string",
- "created_at": "string",
- "updated_at": "string"
}
}
}| group_by | string Example: group_by=user_activity.id |
| fields | string Example: fields=user_activity.* |
| limit | integer Example: limit=10 |
| page | integer Example: page=1 |
| sort_by | string Example: sort_by=-date |
| filter_like | string Example: filter_like={} |
| includes | string Example: includes=user;table.employee;table.form;table.details.account; |
| filter_equal | string Example: filter_equal={"number":"CA22050005"} |
{- "data": [
- {
- "id": 0,
- "table_type": "string",
- "table_id": 0,
- "number": "string",
- "date": "string",
- "user_id": 0,
- "activity": "string",
- "user": {
- "id": 0,
- "name": "string",
- "first_name": "string",
- "last_name": "string",
- "address": "string",
- "phone": "string",
- "email": "string",
- "created_at": "string",
- "updated_at": "string",
- "branch_id": "string",
- "warehouse_id": "string",
- "full_name": "string"
}, - "table": {
- "id": 0,
- "payment_type": "string",
- "employee_id": 0,
- "amount": 0,
- "amount_remaining": 0,
- "created_at": "string",
- "archived_at": "string",
- "last_request_approval_at": "string",
- "employee": {
- "id": 0,
- "code": "string",
- "tax_identification_number": "string",
- "name": "string",
- "address": "string",
- "city": "string",
- "state": "string",
- "country": "string",
- "zip_code": "string",
- "latitude": "string",
- "longitude": "string",
- "phone": "string",
- "phone_cc": "string",
- "email": "string",
- "bpjs": "string",
- "resign_date": "string",
- "personal_identity": "string",
- "last_education": "string",
- "birth_date": "string",
- "birth_place": "string",
- "employee_gender_id": "string",
- "employee_marital_status_id": "string",
- "married_with": "string",
- "employee_religion_id": "string",
- "employee_group_id": "string",
- "employee_status_id": "string",
- "employee_job_location_id": "string",
- "join_date": "string",
- "job_title": "string",
- "kpi_template_id": "string",
- "notes": "string",
- "daily_transport_allowance": 0,
- "functional_allowance": 0,
- "communication_allowance": 0,
- "branch_id": "string",
- "user_id": "string",
- "created_by": "string",
- "updated_by": "string",
- "archived_by": "string",
- "created_at": "string",
- "updated_at": "string",
- "archived_at": "string",
- "label": "string"
}, - "form": {
- "id": 0,
- "branch_id": 0,
- "date": "string",
- "number": "string",
- "edited_number": "string",
- "edited_notes": "string",
- "notes": "string",
- "created_by": 0,
- "updated_by": 0,
- "done": 0,
- "increment": 0,
- "increment_group": 0,
- "formable_id": 0,
- "formable_type": "string",
- "request_approval_to": 0,
- "approval_by": 0,
- "approval_at": "string",
- "approval_reason": "string",
- "approval_status": 0,
- "request_cancellation_to": "string",
- "request_cancellation_by": "string",
- "request_cancellation_at": "string",
- "request_cancellation_reason": "string",
- "cancellation_approval_at": "string",
- "cancellation_approval_by": "string",
- "cancellation_approval_reason": "string",
- "cancellation_status": "string",
- "created_at": "string",
- "updated_at": "string"
}, - "details": [
- {
- "id": 0,
- "cash_advance_id": 0,
- "chart_of_account_id": 0,
- "amount": 0,
- "notes": "string",
- "account": {
- "id": 0,
- "type_id": 0,
- "group_id": "string",
- "is_sub_ledger": 0,
- "sub_ledger": "string",
- "position": "string",
- "is_locked": 0,
- "cash_flow": "string",
- "cash_flow_position": "string",
- "number": "string",
- "name": "string",
- "alias": "string",
- "created_by": "string",
- "updated_by": "string",
- "archived_by": "string",
- "created_at": "string",
- "updated_at": "string",
- "archived_at": "string",
- "label": "string"
}
}
]
}
}
], - "links": {
- "first": "string",
- "last": "string",
- "prev": "string",
- "next": "string"
}, - "meta": {
- "current_page": 0,
- "from": 0,
- "last_page": 0,
- "path": "string",
- "per_page": "string",
- "to": 0,
- "total": 0
}
}| id | integer |
| activity | string |
{- "data": {
- "id": 0,
- "payment_type": "string",
- "employee_id": 0,
- "amount": 0,
- "amount_remaining": 0,
- "created_at": "string",
- "archived_at": "string",
- "last_request_approval_at": "string",
- "form": {
- "id": 0,
- "branch_id": 0,
- "date": "string",
- "number": "string",
- "edited_number": "string",
- "edited_notes": "string",
- "notes": "string",
- "created_by": 0,
- "updated_by": 0,
- "done": 0,
- "increment": 0,
- "increment_group": 0,
- "formable_id": 0,
- "formable_type": "string",
- "request_approval_to": 0,
- "approval_by": 0,
- "approval_at": "string",
- "approval_reason": "string",
- "approval_status": 0,
- "request_cancellation_to": "string",
- "request_cancellation_by": "string",
- "request_cancellation_at": "string",
- "request_cancellation_reason": "string",
- "cancellation_approval_at": "string",
- "cancellation_approval_by": "string",
- "cancellation_approval_reason": "string",
- "cancellation_status": "string",
- "created_at": "string",
- "updated_at": "string"
}
}
}| filter_form | string Example: filter_form=notArchived;null |
| filter_date_min | string Example: filter_date_min={"form.date":"2022-05-01 00:00:00"} |
| filter_date_max | string Example: filter_date_max={"form.date":"2022-05-29 23:59:59"} |
| report_type | string Example: report_type=cash |
| report_name | string Example: report_name=CashReport |
| limit | integer Example: limit=1000 |
{- "data": {
- "current_page": 0,
- "data": [
- {
- "id": 0,
- "date": "string",
- "form_number": "string",
- "subledger": "string",
- "notes": "string",
- "account_id": 0,
- "account_number": "string",
- "account_alias": "string",
- "is_checked": true,
- "debit": 0,
- "credit": 0,
- "type": "string",
- "balance": 0
}
], - "first_page_url": "string",
- "from": 0,
- "last_page": 0,
- "last_page_url": "string",
- "next_page_url": "string",
- "path": "string",
- "per_page": "string",
- "prev_page_url": "string",
- "to": 0,
- "total": 0
}, - "opening_balance": {
- "debit": 0,
- "credit": 0
}, - "total": {
- "debit": 0,
- "credit": 0
}, - "ending_balance": 0,
- "cash_advance": 0
}| number | string |
| report_name | string |
| is_checked | integer |
{- "number": "string",
- "feature": "string",
- "is_checked": "string",
- "updated_at": "string",
- "created_at": "string",
- "id": 0
}| join | string Example: join=form,customer,items,item |
| fields | string Example: fields=sales_delivery_order.* |
| sort_by | string Example: sort_by=-form.number |
| group_by | string Example: group_by=form.id |
| filter_form | string Example: filter_form=notArchived;null |
| filter_like | string Example: filter_like={} |
| filter_date_min | string Example: filter_date_min={"form.date":"2022-05-01 00:00:00"} |
| filter_date_max | string Example: filter_date_max={"form.date":"2022-06-08 23:59:59"} |
| limit | integer Example: limit=10 |
| includes | string Example: includes=form;customer;warehouse;items.item;items.allocation |
| page | integer Example: page=1 |
{- "data": [
- {
- "id": 66,
- "customer_id": 12,
- "warehouse_id": 2,
- "sales_order_id": 25,
- "customer_name": "PINNAPLE",
- "customer_address": null,
- "customer_phone": null,
- "billing_address": null,
- "billing_phone": null,
- "billing_email": null,
- "shipping_address": null,
- "shipping_phone": null,
- "shipping_email": null,
- "form": {
- "id": 101,
- "branch_id": 2,
- "date": "2022-06-03 10:42:48",
- "number": "DO22060005",
- "edited_number": null,
- "edited_notes": null,
- "notes": null,
- "created_by": 1,
- "updated_by": 1,
- "done": 0,
- "increment": 5,
- "increment_group": 202206,
- "formable_id": 57,
- "formable_type": "SalesDeliveryOrder",
- "request_approval_to": 1,
- "approval_by": 1,
- "approval_at": "2022-06-03 03:44:08",
- "approval_reason": null,
- "approval_status": 1,
- "request_cancellation_to": null,
- "request_cancellation_by": null,
- "request_cancellation_at": null,
- "request_cancellation_reason": null,
- "cancellation_approval_at": null,
- "cancellation_approval_by": null,
- "cancellation_approval_reason": null,
- "cancellation_status": null,
- "created_at": "2022-06-03 10:44:04",
- "updated_at": "2022-06-03 10:44:08",
- "request_approval_at": "2022-06-03 10:42:48",
- "request_close_to": null,
- "request_close_by": null,
- "request_close_at": null,
- "request_close_reason": null,
- "close_approval_at": null,
- "close_approval_by": null,
- "close_approval_reason": null,
- "close_status": null
}, - "customer": {
- "id": 12,
- "code": "CUST-002",
- "tax_identification_number": null,
- "name": "PINNAPLE",
- "address": null,
- "city": null,
- "state": null,
- "country": null,
- "zip_code": null,
- "latitude": null,
- "longitude": null,
- "phone": null,
- "phone_cc": null,
- "email": null,
- "notes": null,
- "credit_limit": 0,
- "branch_id": 2,
- "created_by": 1,
- "updated_by": 1,
- "archived_by": null,
- "pricing_group_id": null,
- "created_at": "2022-05-18 09:51:29",
- "updated_at": "2022-05-18 09:51:29",
- "archived_at": null,
- "label": "[CUST-002] PINNAPLE"
}, - "warehouse": {
- "id": 2,
- "code": "10689-1080",
- "name": "Hanna Schuster",
- "address": "28491 Morissette Drives Apt. 364\nPort Juwan, LA 19032",
- "phone": "+5993089919718",
- "notes": "Perferendis ipsam omnis rerum amet ex maiores animi. Ad rerum et ut rerum. Natus expedita voluptatem optio ipsa.",
- "branch_id": 2,
- "created_by": null,
- "updated_by": null,
- "archived_by": null,
- "created_at": "2022-05-12 11:33:49",
- "updated_at": "2022-05-12 11:33:49",
- "archived_at": null,
- "label": "[10689-1080] Hanna Schuster"
}, - "items": [
- {
- "id": 135,
- "delivery_order_id": 57,
- "sales_order_item_id": 61,
- "item_id": 8,
- "item_name": "Bulpoint",
- "price": 1000,
- "discount_percent": 0,
- "discount_value": 0,
- "taxable": 1,
- "unit": "PCS",
- "converter": 1,
- "notes": null,
- "allocation_id": null,
- "quantity_requested": 3,
- "quantity_delivered": 1,
- "quantity_remaining": 2,
- "converter_quantity": null,
- "item": {
- "id": 8,
- "chart_of_account_id": 9,
- "code": "B-12931",
- "barcode": null,
- "name": "Bulpoint",
- "size": null,
- "color": null,
- "weight": null,
- "notes": null,
- "taxable": 1,
- "require_production_number": 1,
- "require_expiry_date": 1,
- "stock": 100,
- "stock_reminder": 0,
- "unit_default": 9,
- "unit_default_purchase": 9,
- "unit_default_sales": 9,
- "created_by": 1,
- "updated_by": 1,
- "archived_by": null,
- "created_at": "2022-05-13 10:38:19",
- "updated_at": "2022-06-03 09:39:33",
- "archived_at": null,
- "label": "[B-12931] Bulpoint"
}, - "allocation": null
}, - {
- "id": 136,
- "delivery_order_id": 57,
- "sales_order_item_id": 64,
- "item_id": 9,
- "item_name": "Gelas",
- "price": 1000,
- "discount_percent": 0,
- "discount_value": 0,
- "taxable": 1,
- "unit": "PCS",
- "converter": 1,
- "notes": null,
- "allocation_id": null,
- "quantity_requested": 3,
- "quantity_delivered": 1,
- "quantity_remaining": 2,
- "converter_quantity": null,
- "item": {
- "id": 9,
- "chart_of_account_id": 9,
- "code": "B-1282192",
- "barcode": null,
- "name": "Gelas",
- "size": null,
- "color": null,
- "weight": null,
- "notes": null,
- "taxable": 1,
- "require_production_number": 1,
- "require_expiry_date": 1,
- "stock": 0,
- "stock_reminder": 0,
- "unit_default": 10,
- "unit_default_purchase": 10,
- "unit_default_sales": 10,
- "created_by": 1,
- "updated_by": 1,
- "archived_by": null,
- "created_at": "2022-05-13 10:38:42",
- "updated_at": "2022-05-13 10:38:42",
- "archived_at": null,
- "label": "[B-1282192] Gelas"
}, - "allocation": null
}
]
}
], - "links": {
- "prev": null,
}, - "meta": {
- "current_page": 1,
- "from": 1,
- "last_page": 4,
- "per_page": "10",
- "to": 10,
- "total": 36
}
}object (original-data) | |
required | Array of objects |
| need_down_payment | string |
| cash_only | string |
| notes | string |
| discount_percent | string |
| discount_value | string |
| type_of_tax | string |
| request_approval_at | string |
| increment_group | string |
| date | string |
| warehouse_id required | integer |
| warehouse_name | string |
| customer_id required | integer |
| customer_name | string |
| customer_label | string |
| customer_address | string |
| customer_phone | string |
| customer_email | string |
| pricing_group_id | integer |
| request_approval_to required | string |
| approver_name | string |
| approver_email | string |
| sales_order_id required | integer |
object |
{- "originalData": {
- "increment_group": "202206",
- "date": "2022-06-07 22:05:04",
- "warehouse_id": null,
- "warehouse_name": null,
- "customer_id": null,
- "customer_name": null,
- "customer_label": null,
- "customer_address": null,
- "customer_phone": null,
- "customer_email": null,
- "pricing_group_id": 1,
- "need_down_payment": 0,
- "cash_only": false,
- "notes": null,
- "discount_percent": 0,
- "discount_value": 0,
- "tax_base": 0,
- "tax": 0,
- "type_of_tax": "exclude",
- "items": [ ],
- "request_approval_to": null,
- "request_approval_at": "2022-06-07 22:05:04",
- "approver_name": null,
- "approver_email": null,
- "sales_order_id": null
}, - "increment_group": "202206",
- "date": "2022-06-07 22:05:04",
- "warehouse_id": 2,
- "warehouse_name": "Hanna Schuster",
- "customer_id": 12,
- "customer_name": "PINNAPLE",
- "customer_label": "[CUST-002] PINNAPLE",
- "customer_address": null,
- "customer_phone": null,
- "customer_email": null,
- "pricing_group_id": 1,
- "need_down_payment": 0,
- "cash_only": false,
- "notes": null,
- "discount_percent": 0,
- "discount_value": 0,
- "type_of_tax": "exclude",
- "items": [
- {
- "sales_order_item_id": 42,
- "item_id": 6,
- "item_name": "Jam",
- "item_label": "Jam",
- "more": false,
- "units": [
- {
- "id": 6,
- "label": "PCS",
- "name": "PCS",
- "converter": 1,
- "disabled": 0,
- "item_id": 6,
- "created_by": 1,
- "updated_by": 1,
- "created_at": "2022-05-13 10:36:58",
- "updated_at": "2022-05-13 10:36:58"
}
], - "unit": "PCS",
- "converter": 1,
- "quantity_requested": "90",
- "quantity_delivered": "90",
- "quantity_remaining": 0,
- "is_quantity_over": false,
- "price": 1000,
- "discount_percent": 0,
- "discount_value": 0,
- "total": 100000,
- "allocation_id": null,
- "notes": null,
- "warehouse_id": 2,
- "warehouse_name": "Hanna Schuster"
}
], - "request_approval_to": 1,
- "request_approval_at": "2022-06-07 22:05:04",
- "approver_name": "admin admin",
- "approver_email": "aininr13@gmail.com",
- "sales_order_id": 18,
- "errors": {
- "errors": { }
}
}{- "data": {
- "warehouse_id": 2,
- "customer_id": 12,
- "customer_name": "PINNAPLE",
- "customer_address": null,
- "customer_phone": null,
- "sales_order_id": 18,
- "id": 68,
- "sales_order": {
- "id": 18,
- "sales_quotation_id": null,
- "sales_contract_id": null,
- "customer_id": 12,
- "customer_name": "PINNAPLE",
- "customer_address": null,
- "customer_phone": null,
- "billing_address": null,
- "billing_phone": null,
- "billing_email": null,
- "shipping_address": null,
- "shipping_phone": null,
- "shipping_email": null,
- "warehouse_id": null,
- "eta": "-0001-11-30 06:42:04",
- "cash_only": 0,
- "need_down_payment": 0,
- "delivery_fee": 0,
- "discount_percent": 0,
- "discount_value": 0,
- "type_of_tax": "exclude",
- "tax": 40000,
- "amount": 440000,
- "created_at": "2022-06-07 22:06:15",
- "updated_at": "2022-06-07 22:06:15",
- "items": [
- {
- "id": 42,
- "sales_order_id": 18,
- "sales_quotation_item_id": null,
- "sales_contract_item_id": null,
- "sales_contract_group_item_id": null,
- "item_id": 8,
- "item_name": "Bulpoint",
- "quantity": 100,
- "unit": "PCS",
- "converter": 1,
- "price": 1000,
- "discount_percent": 0,
- "discount_value": 0,
- "taxable": 1,
- "notes": null,
- "allocation_id": null,
- "quantity_remaining": "100.000000000000000000000000000000",
- "item": {
- "id": 8,
- "chart_of_account_id": 9,
- "code": "B-12931",
- "barcode": null,
- "name": "Bulpoint",
- "size": null,
- "color": null,
- "weight": null,
- "notes": null,
- "taxable": 1,
- "require_production_number": 1,
- "require_expiry_date": 1,
- "stock": 100,
- "stock_reminder": 0,
- "unit_default": 9,
- "unit_default_purchase": 9,
- "unit_default_sales": 9,
- "created_by": 1,
- "updated_by": 1,
- "archived_by": null,
- "created_at": "2022-05-13 10:38:19",
- "updated_at": "2022-06-03 09:39:33",
- "archived_at": null,
- "label": "[B-12931] Bulpoint",
- "smallest_unit": {
- "id": 9,
- "label": "PCS",
- "name": "PCS",
- "converter": 1,
- "disabled": 0,
- "item_id": 8,
- "created_by": 1,
- "updated_by": 1,
- "created_at": "2022-05-13 10:38:19",
- "updated_at": "2022-05-13 10:38:19"
}
}, - "delivery_order_items": [
- {
- "id": 99,
- "delivery_order_id": 41,
- "sales_order_item_id": 42,
- "item_id": 8,
- "item_name": "Bulpoint",
- "price": 1000,
- "discount_percent": 0,
- "discount_value": 0,
- "taxable": 1,
- "unit": "PCS",
- "converter": 1,
- "notes": null,
- "allocation_id": null,
- "quantity_requested": 100,
- "quantity_delivered": 10,
- "quantity_remaining": 90,
- "converter_quantity": null,
- "delivery_order": {
- "id": 41,
- "customer_id": 12,
- "warehouse_id": 2,
- "sales_order_id": 18,
- "customer_name": "PINNAPLE",
- "customer_address": null,
- "customer_phone": null,
- "billing_address": null,
- "billing_phone": null,
- "billing_email": null,
- "shipping_address": null,
- "shipping_phone": null,
- "shipping_email": null,
- "form": {
- "id": 61,
- "branch_id": 2,
- "date": "2022-05-24 11:06:27",
- "number": "DO22050014",
- "edited_number": null,
- "edited_notes": null,
- "notes": null,
- "created_by": 1,
- "updated_by": 1,
- "done": 0,
- "increment": 14,
- "increment_group": 202205,
- "formable_id": 41,
- "formable_type": "SalesDeliveryOrder",
- "request_approval_to": 1,
- "approval_by": 1,
- "approval_at": "2022-05-24 04:08:12",
- "approval_reason": null,
- "approval_status": 1,
- "request_cancellation_to": null,
- "request_cancellation_by": null,
- "request_cancellation_at": null,
- "request_cancellation_reason": null,
- "cancellation_approval_at": null,
- "cancellation_approval_by": null,
- "cancellation_approval_reason": null,
- "cancellation_status": null,
- "created_at": "2022-05-24 11:06:48",
- "updated_at": "2022-05-24 11:08:12",
- "request_approval_at": "2022-05-24 11:06:27",
- "request_close_to": null,
- "request_close_by": null,
- "request_close_at": null,
- "request_close_reason": null,
- "close_approval_at": null,
- "close_approval_by": null,
- "close_approval_reason": null,
- "close_status": null
}
}
}, - {
- "id": 147,
- "delivery_order_id": 61,
- "sales_order_item_id": 42,
- "item_id": 8,
- "item_name": "Bulpoint",
- "price": 1000,
- "discount_percent": 0,
- "discount_value": 0,
- "taxable": 1,
- "unit": "PCS",
- "converter": 1,
- "notes": null,
- "allocation_id": null,
- "quantity_requested": 90,
- "quantity_delivered": 45,
- "quantity_remaining": 45,
- "converter_quantity": null
}, - {
- "id": 166,
- "delivery_order_id": 67,
- "sales_order_item_id": 42,
- "item_id": 8,
- "item_name": "Bulpoint",
- "price": 1000,
- "discount_percent": 0,
- "discount_value": 0,
- "taxable": 1,
- "unit": "PCS",
- "converter": 1,
- "notes": null,
- "allocation_id": null,
- "quantity_requested": 90,
- "quantity_delivered": 90,
- "quantity_remaining": 0,
- "converter_quantity": null
}, - {
- "id": 170,
- "delivery_order_id": 68,
- "sales_order_item_id": 42,
- "item_id": 8,
- "item_name": "Bulpoint",
- "price": 1000,
- "discount_percent": 0,
- "discount_value": 0,
- "taxable": 1,
- "unit": "PCS",
- "converter": 1,
- "notes": null,
- "allocation_id": null,
- "quantity_requested": 90,
- "quantity_delivered": 90,
- "quantity_remaining": 0,
- "converter_quantity": null
}
]
}, - {
- "id": 43,
- "sales_order_id": 18,
- "sales_quotation_item_id": null,
- "sales_contract_item_id": null,
- "sales_contract_group_item_id": null,
- "item_id": 7,
- "item_name": "Case",
- "quantity": 100,
- "unit": "PCS",
- "converter": 1,
- "price": 1000,
- "discount_percent": 0,
- "discount_value": 0,
- "taxable": 1,
- "notes": null,
- "allocation_id": null,
- "quantity_remaining": "100.000000000000000000000000000000",
- "item": {
- "id": 7,
- "chart_of_account_id": 9,
- "code": "B-1202",
- "barcode": null,
- "name": "Case",
- "size": null,
- "color": null,
- "weight": null,
- "notes": null,
- "taxable": 1,
- "require_production_number": 0,
- "require_expiry_date": 0,
- "stock": 0,
- "stock_reminder": 0,
- "unit_default": 7,
- "unit_default_purchase": 8,
- "unit_default_sales": 7,
- "created_by": 1,
- "updated_by": 1,
- "archived_by": null,
- "created_at": "2022-05-13 10:37:43",
- "updated_at": "2022-05-13 10:37:43",
- "archived_at": null,
- "label": "[B-1202] Case",
- "smallest_unit": {
- "id": 7,
- "label": "PCS",
- "name": "PCS",
- "converter": 1,
- "disabled": 0,
- "item_id": 7,
- "created_by": 1,
- "updated_by": 1,
- "created_at": "2022-05-13 10:37:43",
- "updated_at": "2022-05-13 10:37:43"
}
}, - "delivery_order_items": [
- {
- "id": 100,
- "delivery_order_id": 41,
- "sales_order_item_id": 43,
- "item_id": 7,
- "item_name": "Case",
- "price": 1000,
- "discount_percent": 0,
- "discount_value": 0,
- "taxable": 1,
- "unit": "PCS",
- "converter": 1,
- "notes": null,
- "allocation_id": null,
- "quantity_requested": 100,
- "quantity_delivered": 10,
- "quantity_remaining": 90,
- "converter_quantity": null,
- "delivery_order": {
- "id": 41,
- "customer_id": 12,
- "warehouse_id": 2,
- "sales_order_id": 18,
- "customer_name": "PINNAPLE",
- "customer_address": null,
- "customer_phone": null,
- "billing_address": null,
- "billing_phone": null,
- "billing_email": null,
- "shipping_address": null,
- "shipping_phone": null,
- "shipping_email": null,
- "form": {
- "id": 61,
- "branch_id": 2,
- "date": "2022-05-24 11:06:27",
- "number": "DO22050014",
- "edited_number": null,
- "edited_notes": null,
- "notes": null,
- "created_by": 1,
- "updated_by": 1,
- "done": 0,
- "increment": 14,
- "increment_group": 202205,
- "formable_id": 41,
- "formable_type": "SalesDeliveryOrder",
- "request_approval_to": 1,
- "approval_by": 1,
- "approval_at": "2022-05-24 04:08:12",
- "approval_reason": null,
- "approval_status": 1,
- "request_cancellation_to": null,
- "request_cancellation_by": null,
- "request_cancellation_at": null,
- "request_cancellation_reason": null,
- "cancellation_approval_at": null,
- "cancellation_approval_by": null,
- "cancellation_approval_reason": null,
- "cancellation_status": null,
- "created_at": "2022-05-24 11:06:48",
- "updated_at": "2022-05-24 11:08:12",
- "request_approval_at": "2022-05-24 11:06:27",
- "request_close_to": null,
- "request_close_by": null,
- "request_close_at": null,
- "request_close_reason": null,
- "close_approval_at": null,
- "close_approval_by": null,
- "close_approval_reason": null,
- "close_status": null
}
}
}, - {
- "id": 148,
- "delivery_order_id": 61,
- "sales_order_item_id": 43,
- "item_id": 7,
- "item_name": "Case",
- "price": 1000,
- "discount_percent": 0,
- "discount_value": 0,
- "taxable": 1,
- "unit": "PCS",
- "converter": 1,
- "notes": null,
- "allocation_id": null,
- "quantity_requested": 90,
- "quantity_delivered": 20,
- "quantity_remaining": 70,
- "converter_quantity": null
}, - {
- "id": 167,
- "delivery_order_id": 67,
- "sales_order_item_id": 43,
- "item_id": 7,
- "item_name": "Case",
- "price": 1000,
- "discount_percent": 0,
- "discount_value": 0,
- "taxable": 1,
- "unit": "PCS",
- "converter": 1,
- "notes": null,
- "allocation_id": null,
- "quantity_requested": 90,
- "quantity_delivered": 90,
- "quantity_remaining": 0,
- "converter_quantity": null
}, - {
- "id": 171,
- "delivery_order_id": 68,
- "sales_order_item_id": 43,
- "item_id": 7,
- "item_name": "Case",
- "price": 1000,
- "discount_percent": 0,
- "discount_value": 0,
- "taxable": 1,
- "unit": "PCS",
- "converter": 1,
- "notes": null,
- "allocation_id": null,
- "quantity_requested": 90,
- "quantity_delivered": 90,
- "quantity_remaining": 0,
- "converter_quantity": null
}
]
}, - {
- "id": 44,
- "sales_order_id": 18,
- "sales_quotation_item_id": null,
- "sales_contract_item_id": null,
- "sales_contract_group_item_id": null,
- "item_id": 9,
- "item_name": "Gelas",
- "quantity": 100,
- "unit": "PCS",
- "converter": 1,
- "price": 1000,
- "discount_percent": 0,
- "discount_value": 0,
- "taxable": 1,
- "notes": null,
- "allocation_id": null,
- "quantity_remaining": "100.000000000000000000000000000000",
- "item": {
- "id": 9,
- "chart_of_account_id": 9,
- "code": "B-1282192",
- "barcode": null,
- "name": "Gelas",
- "size": null,
- "color": null,
- "weight": null,
- "notes": null,
- "taxable": 1,
- "require_production_number": 1,
- "require_expiry_date": 1,
- "stock": 0,
- "stock_reminder": 0,
- "unit_default": 10,
- "unit_default_purchase": 10,
- "unit_default_sales": 10,
- "created_by": 1,
- "updated_by": 1,
- "archived_by": null,
- "created_at": "2022-05-13 10:38:42",
- "updated_at": "2022-05-13 10:38:42",
- "archived_at": null,
- "label": "[B-1282192] Gelas",
- "smallest_unit": {
- "id": 10,
- "label": "PCS",
- "name": "PCS",
- "converter": 1,
- "disabled": 0,
- "item_id": 9,
- "created_by": 1,
- "updated_by": 1,
- "created_at": "2022-05-13 10:38:42",
- "updated_at": "2022-05-13 10:38:42"
}
}, - "delivery_order_items": [
- {
- "id": 101,
- "delivery_order_id": 41,
- "sales_order_item_id": 44,
- "item_id": 9,
- "item_name": "Gelas",
- "price": 1000,
- "discount_percent": 0,
- "discount_value": 0,
- "taxable": 1,
- "unit": "PCS",
- "converter": 1,
- "notes": null,
- "allocation_id": null,
- "quantity_requested": 100,
- "quantity_delivered": 10,
- "quantity_remaining": 90,
- "converter_quantity": null,
- "delivery_order": {
- "id": 41,
- "customer_id": 12,
- "warehouse_id": 2,
- "sales_order_id": 18,
- "customer_name": "PINNAPLE",
- "customer_address": null,
- "customer_phone": null,
- "billing_address": null,
- "billing_phone": null,
- "billing_email": null,
- "shipping_address": null,
- "shipping_phone": null,
- "shipping_email": null,
- "form": {
- "id": 61,
- "branch_id": 2,
- "date": "2022-05-24 11:06:27",
- "number": "DO22050014",
- "edited_number": null,
- "edited_notes": null,
- "notes": null,
- "created_by": 1,
- "updated_by": 1,
- "done": 0,
- "increment": 14,
- "increment_group": 202205,
- "formable_id": 41,
- "formable_type": "SalesDeliveryOrder",
- "request_approval_to": 1,
- "approval_by": 1,
- "approval_at": "2022-05-24 04:08:12",
- "approval_reason": null,
- "approval_status": 1,
- "request_cancellation_to": null,
- "request_cancellation_by": null,
- "request_cancellation_at": null,
- "request_cancellation_reason": null,
- "cancellation_approval_at": null,
- "cancellation_approval_by": null,
- "cancellation_approval_reason": null,
- "cancellation_status": null,
- "created_at": "2022-05-24 11:06:48",
- "updated_at": "2022-05-24 11:08:12",
- "request_approval_at": "2022-05-24 11:06:27",
- "request_close_to": null,
- "request_close_by": null,
- "request_close_at": null,
- "request_close_reason": null,
- "close_approval_at": null,
- "close_approval_by": null,
- "close_approval_reason": null,
- "close_status": null
}
}
}, - {
- "id": 149,
- "delivery_order_id": 61,
- "sales_order_item_id": 44,
- "item_id": 9,
- "item_name": "Gelas",
- "price": 1000,
- "discount_percent": 0,
- "discount_value": 0,
- "taxable": 1,
- "unit": "PCS",
- "converter": 1,
- "notes": null,
- "allocation_id": null,
- "quantity_requested": 90,
- "quantity_delivered": 20,
- "quantity_remaining": 70,
- "converter_quantity": null
}, - {
- "id": 168,
- "delivery_order_id": 67,
- "sales_order_item_id": 44,
- "item_id": 9,
- "item_name": "Gelas",
- "price": 1000,
- "discount_percent": 0,
- "discount_value": 0,
- "taxable": 1,
- "unit": "PCS",
- "converter": 1,
- "notes": null,
- "allocation_id": null,
- "quantity_requested": 90,
- "quantity_delivered": 90,
- "quantity_remaining": 0,
- "converter_quantity": null
}, - {
- "id": 172,
- "delivery_order_id": 68,
- "sales_order_item_id": 44,
- "item_id": 9,
- "item_name": "Gelas",
- "price": 1000,
- "discount_percent": 0,
- "discount_value": 0,
- "taxable": 1,
- "unit": "PCS",
- "converter": 1,
- "notes": null,
- "allocation_id": null,
- "quantity_requested": 90,
- "quantity_delivered": 90,
- "quantity_remaining": 0,
- "converter_quantity": null
}
]
}, - {
- "id": 45,
- "sales_order_id": 18,
- "sales_quotation_item_id": null,
- "sales_contract_item_id": null,
- "sales_contract_group_item_id": null,
- "item_id": 6,
- "item_name": "Jam",
- "quantity": 100,
- "unit": "PCS",
- "converter": 1,
- "price": 1000,
- "discount_percent": 0,
- "discount_value": 0,
- "taxable": 1,
- "notes": null,
- "allocation_id": null,
- "quantity_remaining": "100.000000000000000000000000000000",
- "item": {
- "id": 6,
- "chart_of_account_id": 9,
- "code": "B-1203812",
- "barcode": null,
- "name": "Jam",
- "size": null,
- "color": null,
- "weight": null,
- "notes": null,
- "taxable": 1,
- "require_production_number": 1,
- "require_expiry_date": 1,
- "stock": 0,
- "stock_reminder": 0,
- "unit_default": 6,
- "unit_default_purchase": 6,
- "unit_default_sales": 6,
- "created_by": 1,
- "updated_by": 1,
- "archived_by": null,
- "created_at": "2022-05-13 10:36:58",
- "updated_at": "2022-05-13 10:36:58",
- "archived_at": null,
- "label": "[B-1203812] Jam",
- "smallest_unit": {
- "id": 6,
- "label": "PCS",
- "name": "PCS",
- "converter": 1,
- "disabled": 0,
- "item_id": 6,
- "created_by": 1,
- "updated_by": 1,
- "created_at": "2022-05-13 10:36:58",
- "updated_at": "2022-05-13 10:36:58"
}
}, - "delivery_order_items": [
- {
- "id": 102,
- "delivery_order_id": 41,
- "sales_order_item_id": 45,
- "item_id": 6,
- "item_name": "Jam",
- "price": 1000,
- "discount_percent": 0,
- "discount_value": 0,
- "taxable": 1,
- "unit": "PCS",
- "converter": 1,
- "notes": null,
- "allocation_id": null,
- "quantity_requested": 100,
- "quantity_delivered": 10,
- "quantity_remaining": 90,
- "converter_quantity": null,
- "delivery_order": {
- "id": 41,
- "customer_id": 12,
- "warehouse_id": 2,
- "sales_order_id": 18,
- "customer_name": "PINNAPLE",
- "customer_address": null,
- "customer_phone": null,
- "billing_address": null,
- "billing_phone": null,
- "billing_email": null,
- "shipping_address": null,
- "shipping_phone": null,
- "shipping_email": null,
- "form": {
- "id": 61,
- "branch_id": 2,
- "date": "2022-05-24 11:06:27",
- "number": "DO22050014",
- "edited_number": null,
- "edited_notes": null,
- "notes": null,
- "created_by": 1,
- "updated_by": 1,
- "done": 0,
- "increment": 14,
- "increment_group": 202205,
- "formable_id": 41,
- "formable_type": "SalesDeliveryOrder",
- "request_approval_to": 1,
- "approval_by": 1,
- "approval_at": "2022-05-24 04:08:12",
- "approval_reason": null,
- "approval_status": 1,
- "request_cancellation_to": null,
- "request_cancellation_by": null,
- "request_cancellation_at": null,
- "request_cancellation_reason": null,
- "cancellation_approval_at": null,
- "cancellation_approval_by": null,
- "cancellation_approval_reason": null,
- "cancellation_status": null,
- "created_at": "2022-05-24 11:06:48",
- "updated_at": "2022-05-24 11:08:12",
- "request_approval_at": "2022-05-24 11:06:27",
- "request_close_to": null,
- "request_close_by": null,
- "request_close_at": null,
- "request_close_reason": null,
- "close_approval_at": null,
- "close_approval_by": null,
- "close_approval_reason": null,
- "close_status": null
}
}
}, - {
- "id": 150,
- "delivery_order_id": 61,
- "sales_order_item_id": 45,
- "item_id": 6,
- "item_name": "Jam",
- "price": 1000,
- "discount_percent": 0,
- "discount_value": 0,
- "taxable": 1,
- "unit": "PCS",
- "converter": 1,
- "notes": null,
- "allocation_id": null,
- "quantity_requested": 90,
- "quantity_delivered": 20,
- "quantity_remaining": 70,
- "converter_quantity": null
}, - {
- "id": 169,
- "delivery_order_id": 67,
- "sales_order_item_id": 45,
- "item_id": 6,
- "item_name": "Jam",
- "price": 1000,
- "discount_percent": 0,
- "discount_value": 0,
- "taxable": 1,
- "unit": "PCS",
- "converter": 1,
- "notes": null,
- "allocation_id": null,
- "quantity_requested": 90,
- "quantity_delivered": 90,
- "quantity_remaining": 0,
- "converter_quantity": null
}, - {
- "id": 173,
- "delivery_order_id": 68,
- "sales_order_item_id": 45,
- "item_id": 6,
- "item_name": "Jam",
- "price": 1000,
- "discount_percent": 0,
- "discount_value": 0,
- "taxable": 1,
- "unit": "PCS",
- "converter": 1,
- "notes": null,
- "allocation_id": null,
- "quantity_requested": 90,
- "quantity_delivered": 90,
- "quantity_remaining": 0,
- "converter_quantity": null
}
]
}
], - "form": {
- "id": 52,
- "branch_id": 2,
- "date": "2022-05-18 14:54:05",
- "number": "SO22050015",
- "edited_number": null,
- "edited_notes": null,
- "notes": null,
- "created_by": 1,
- "updated_by": 2,
- "done": false,
- "increment": 15,
- "increment_group": 202205,
- "formable_id": 18,
- "formable_type": "SalesOrder",
- "request_approval_to": 1,
- "approval_by": 1,
- "approval_at": "2022-05-18 07:56:02",
- "approval_reason": null,
- "approval_status": 1,
- "request_cancellation_to": null,
- "request_cancellation_by": null,
- "request_cancellation_at": null,
- "request_cancellation_reason": null,
- "cancellation_approval_at": null,
- "cancellation_approval_by": null,
- "cancellation_approval_reason": null,
- "cancellation_status": null,
- "created_at": "2022-05-18 14:54:59",
- "updated_at": "2022-06-07 22:06:15",
- "request_approval_at": null,
- "request_close_to": null,
- "request_close_by": null,
- "request_close_at": null,
- "request_close_reason": null,
- "close_approval_at": null,
- "close_approval_by": null,
- "close_approval_reason": null,
- "close_status": null
}
}, - "form": {
- "id": 113,
- "branch_id": 2,
- "date": "2022-06-07 22:05:04",
- "number": "DO22060016",
- "edited_number": null,
- "edited_notes": null,
- "notes": null,
- "created_by": 2,
- "updated_by": 2,
- "done": 0,
- "increment": 16,
- "increment_group": 202206,
- "formable_id": 68,
- "formable_type": "SalesDeliveryOrder",
- "request_approval_to": 1,
- "approval_by": null,
- "approval_at": null,
- "approval_reason": null,
- "approval_status": 0,
- "request_cancellation_to": null,
- "request_cancellation_by": null,
- "request_cancellation_at": null,
- "request_cancellation_reason": null,
- "cancellation_approval_at": null,
- "cancellation_approval_by": null,
- "cancellation_approval_reason": null,
- "cancellation_status": null,
- "created_at": "2022-06-07 22:06:15",
- "updated_at": "2022-06-07 22:06:15",
- "request_approval_at": "2022-06-07 22:05:04",
- "request_close_to": null,
- "request_close_by": null,
- "request_close_at": null,
- "request_close_reason": null,
- "close_approval_at": null,
- "close_approval_by": null,
- "close_approval_reason": null,
- "close_status": null
}, - "customer": {
- "id": 12,
- "code": "CUST-002",
- "tax_identification_number": null,
- "name": "PINNAPLE",
- "address": null,
- "city": null,
- "state": null,
- "country": null,
- "zip_code": null,
- "latitude": null,
- "longitude": null,
- "phone": null,
- "phone_cc": null,
- "email": null,
- "notes": null,
- "credit_limit": 0,
- "branch_id": 2,
- "created_by": 1,
- "updated_by": 1,
- "archived_by": null,
- "pricing_group_id": null,
- "created_at": "2022-05-18 09:51:29",
- "updated_at": "2022-05-18 09:51:29",
- "archived_at": null,
- "label": "[CUST-002] PINNAPLE"
}, - "items": [
- {
- "id": 170,
- "delivery_order_id": 68,
- "sales_order_item_id": 42,
- "item_id": 8,
- "item_name": "Bulpoint",
- "price": 1000,
- "discount_percent": 0,
- "discount_value": 0,
- "taxable": 1,
- "unit": "PCS",
- "converter": 1,
- "notes": null,
- "allocation_id": null,
- "quantity_requested": 90,
- "quantity_delivered": 90,
- "quantity_remaining": 0,
- "converter_quantity": null,
- "allocation": null
}, - {
- "id": 171,
- "delivery_order_id": 68,
- "sales_order_item_id": 45,
- "item_id": 6,
- "item_name": "Jam",
- "price": 1000,
- "discount_percent": 0,
- "discount_value": 0,
- "taxable": 1,
- "unit": "PCS",
- "converter": 1,
- "notes": null,
- "allocation_id": null,
- "quantity_requested": 90,
- "quantity_delivered": 90,
- "quantity_remaining": 0,
- "converter_quantity": null,
- "allocation": null
}
]
}
}| join | string Example: join= form,customer,items,item |
| fields | string Example: fields= sales_delivery_order.*;sales_delivery_order_item.* |
| sort_by | string Example: sort_by= -form.number |
| filter_form | string Example: filter_form= notArchived;null |
| filter_like | string Example: filter_like= {} |
| filter_date_min | string Example: filter_date_min= {"form.date":"2022-06-01 00:00:00"} |
| filter_date_max | string Example: filter_date_max= {"form.date":"2022-06-07 23:59:59"} |
| includes | string Example: includes= form;customer;warehouse;items.item |
{
}| join | string Example: join=form,customer,items,item |
| fields | string Example: fields=sales_delivery_order.* |
| sort_by | string Example: sort_by=-form.number |
| group_by | string Example: group_by=form.id |
| filter_form | string Example: filter_form=notArchived;null |
| filter_like | string Example: filter_like={} |
| filter_date_min | string Example: filter_date_min={"form.date":"2022-05-01 00:00:00"} |
| filter_date_max | string Example: filter_date_max={"form.date":"2022-05-17 23:59:59"} |
| limit | integer Example: limit=10 |
| includes | string Example: includes=form;customer;warehouse;items.item;items.allocation |
| page | integer Example: page=1 |
{- "data": [
- {
- "id": 29,
- "customer_id": 5,
- "warehouse_id": 2,
- "sales_order_id": 9,
- "customer_name": "Ms. Kitty Armstrong",
- "customer_address": null,
- "customer_phone": null,
- "billing_address": null,
- "billing_phone": null,
- "billing_email": null,
- "shipping_address": null,
- "shipping_phone": null,
- "shipping_email": null,
- "last_request_date": "2022-05-27 04:10:41",
- "form": {
- "id": 38,
- "branch_id": 2,
- "date": "2022-05-17 21:24:06",
- "number": "DO22050003",
- "edited_number": null,
- "edited_notes": null,
- "notes": null,
- "created_by": 1,
- "updated_by": 1,
- "done": 0,
- "increment": 3,
- "increment_group": 202205,
- "formable_id": 29,
- "formable_type": "SalesDeliveryOrder",
- "request_approval_to": 1,
- "approval_by": null,
- "approval_at": null,
- "approval_reason": null,
- "approval_status": 0,
- "request_cancellation_to": 1,
- "request_cancellation_by": 1,
- "request_cancellation_at": "2022-05-17 14:24:38",
- "request_cancellation_reason": "bukan prioritas",
- "cancellation_approval_at": "2022-05-17 14:24:43",
- "cancellation_approval_by": 1,
- "cancellation_approval_reason": null,
- "cancellation_status": 1,
- "created_at": "2022-05-17 21:24:23",
- "updated_at": "2022-05-17 21:24:43",
- "request_approval_at": "2022-05-17 21:24:06",
- "request_close_to": null,
- "request_close_by": null,
- "request_close_at": null,
- "request_close_reason": null,
- "close_approval_at": null,
- "close_approval_by": null,
- "close_approval_reason": null,
- "close_status": null
}, - "customer": {
- "id": 5,
- "code": null,
- "tax_identification_number": null,
- "name": "Ms. Kitty Armstrong",
- "address": null,
- "city": null,
- "state": null,
- "country": null,
- "zip_code": null,
- "latitude": null,
- "longitude": null,
- "phone": null,
- "phone_cc": null,
- "email": null,
- "notes": null,
- "credit_limit": 0,
- "branch_id": 1,
- "created_by": null,
- "updated_by": null,
- "archived_by": null,
- "pricing_group_id": null,
- "created_at": "2022-05-12 11:33:49",
- "updated_at": "2022-05-12 11:33:49",
- "archived_at": null,
- "label": "Ms. Kitty Armstrong"
}, - "warehouse": {
- "id": 2,
- "code": "10689-1080",
- "name": "Hanna Schuster",
- "address": "28491 Morissette Drives Apt. 364\nPort Juwan, LA 19032",
- "phone": "+5993089919718",
- "notes": "Perferendis ipsam omnis rerum amet ex maiores animi. Ad rerum et ut rerum. Natus expedita voluptatem optio ipsa.",
- "branch_id": 2,
- "created_by": null,
- "updated_by": null,
- "archived_by": null,
- "created_at": "2022-05-12 11:33:49",
- "updated_at": "2022-05-12 11:33:49",
- "archived_at": null,
- "label": "[10689-1080] Hanna Schuster"
}, - "items": [
- {
- "id": 61,
- "delivery_order_id": 29,
- "sales_order_item_id": 21,
- "item_id": 7,
- "item_name": "Case",
- "price": 10000,
- "discount_percent": 0,
- "discount_value": 0,
- "taxable": 1,
- "unit": "PCS",
- "converter": 1,
- "notes": null,
- "allocation_id": null,
- "quantity_requested": 10,
- "quantity_delivered": 10,
- "quantity_remaining": 0,
- "converter_quantity": null,
- "item": {
- "id": 7,
- "chart_of_account_id": 9,
- "code": "B-1202",
- "barcode": null,
- "name": "Case",
- "size": null,
- "color": null,
- "weight": null,
- "notes": null,
- "taxable": 1,
- "require_production_number": 0,
- "require_expiry_date": 0,
- "stock": 0,
- "stock_reminder": 0,
- "unit_default": 7,
- "unit_default_purchase": 8,
- "unit_default_sales": 7,
- "created_by": 1,
- "updated_by": 1,
- "archived_by": null,
- "created_at": "2022-05-13 10:37:43",
- "updated_at": "2022-05-13 10:37:43",
- "archived_at": null,
- "label": "[B-1202] Case"
}, - "allocation": null
}
]
}
], - "links": {
- "prev": null,
- "next": null
}, - "meta": {
- "current_page": 1,
- "from": 1,
- "last_page": 1,
- "per_page": "10",
- "to": 1,
- "total": 1
}
}| id required | any delivery order id |
| with_archives | boolean Example: with_archives=true |
| with_origin | boolean Example: with_origin=true |
| includes | string Example: includes=customer;warehouse;items.item;items.allocation;salesOrder.form;form.createdBy;form.requestApprovalTo;form.branch |
{- "data": {
- "id": 66,
- "customer_id": 11,
- "warehouse_id": 2,
- "sales_order_id": 12,
- "customer_name": "AINI",
- "customer_address": null,
- "customer_phone": null,
- "billing_address": null,
- "billing_phone": null,
- "billing_email": null,
- "shipping_address": null,
- "shipping_phone": null,
- "shipping_email": null,
- "archives": [ ],
- "customer": {
- "id": 11,
- "code": "CUST-0123",
- "tax_identification_number": null,
- "name": "AINI",
- "address": null,
- "city": null,
- "state": null,
- "country": null,
- "zip_code": null,
- "latitude": null,
- "longitude": null,
- "phone": null,
- "phone_cc": null,
- "email": null,
- "notes": null,
- "credit_limit": 0,
- "branch_id": 2,
- "created_by": 1,
- "updated_by": 1,
- "archived_by": null,
- "pricing_group_id": 1,
- "created_at": "2022-05-18 09:49:41",
- "updated_at": "2022-05-18 09:49:41",
- "archived_at": null,
- "label": "[CUST-0123] AINI"
}, - "warehouse": {
- "id": 2,
- "code": "10689-1080",
- "name": "Hanna Schuster",
- "address": "28491 Morissette Drives Apt. 364\nPort Juwan, LA 19032",
- "phone": "+5993089919718",
- "notes": "Perferendis ipsam omnis rerum amet ex maiores animi. Ad rerum et ut rerum. Natus expedita voluptatem optio ipsa.",
- "branch_id": 2,
- "created_by": null,
- "updated_by": null,
- "archived_by": null,
- "created_at": "2022-05-12 11:33:49",
- "updated_at": "2022-05-12 11:33:49",
- "archived_at": null,
- "label": "[10689-1080] Hanna Schuster"
}, - "items": [
- {
- "id": 162,
- "delivery_order_id": 66,
- "sales_order_item_id": 29,
- "item_id": 6,
- "item_name": "Jam",
- "price": 10000,
- "discount_percent": 0,
- "discount_value": 0,
- "taxable": 1,
- "unit": "PCS",
- "converter": 1,
- "notes": null,
- "allocation_id": null,
- "quantity_requested": 100,
- "quantity_delivered": 20,
- "quantity_remaining": 80,
- "converter_quantity": null,
- "item": {
- "id": 6,
- "chart_of_account_id": 9,
- "code": "B-1203812",
- "barcode": null,
- "name": "Jam",
- "size": null,
- "color": null,
- "weight": null,
- "notes": null,
- "taxable": 1,
- "require_production_number": 1,
- "require_expiry_date": 1,
- "stock": 0,
- "stock_reminder": 0,
- "unit_default": 6,
- "unit_default_purchase": 6,
- "unit_default_sales": 6,
- "created_by": 1,
- "updated_by": 1,
- "archived_by": null,
- "created_at": "2022-05-13 10:36:58",
- "updated_at": "2022-05-13 10:36:58",
- "archived_at": null,
- "label": "[B-1203812] Jam"
}, - "allocation": null
}
], - "sales_order": {
- "id": 12,
- "sales_quotation_id": null,
- "sales_contract_id": null,
- "customer_id": 11,
- "customer_name": "AINI",
- "customer_address": null,
- "customer_phone": null,
- "billing_address": null,
- "billing_phone": null,
- "billing_email": null,
- "shipping_address": null,
- "shipping_phone": null,
- "shipping_email": null,
- "warehouse_id": null,
- "eta": "-0001-11-30 06:42:04",
- "cash_only": 0,
- "need_down_payment": 0,
- "delivery_fee": 0,
- "discount_percent": 0,
- "discount_value": 0,
- "type_of_tax": "exclude",
- "tax": 400000,
- "amount": 4400000,
- "created_at": "2022-06-07 22:03:26",
- "updated_at": "2022-06-07 22:03:26",
- "form": {
- "id": 41,
- "branch_id": 2,
- "date": "2022-05-18 09:52:13",
- "number": "SO22050009",
- "edited_number": null,
- "edited_notes": null,
- "notes": null,
- "created_by": 1,
- "updated_by": 1,
- "done": 0,
- "increment": 9,
- "increment_group": 202205,
- "formable_id": 12,
- "formable_type": "SalesOrder",
- "request_approval_to": 1,
- "approval_by": 1,
- "approval_at": "2022-05-18 02:53:07",
- "approval_reason": null,
- "approval_status": 1,
- "request_cancellation_to": null,
- "request_cancellation_by": null,
- "request_cancellation_at": null,
- "request_cancellation_reason": null,
- "cancellation_approval_at": null,
- "cancellation_approval_by": null,
- "cancellation_approval_reason": null,
- "cancellation_status": null,
- "created_at": "2022-05-18 09:53:04",
- "updated_at": "2022-06-04 12:56:55",
- "request_approval_at": null,
- "request_close_to": null,
- "request_close_by": null,
- "request_close_at": null,
- "request_close_reason": null,
- "close_approval_at": null,
- "close_approval_by": null,
- "close_approval_reason": null,
- "close_status": null
}
}, - "form": {
- "id": 110,
- "branch_id": 2,
- "date": "2022-06-04 12:56:26",
- "number": "DO22060014",
- "edited_number": null,
- "edited_notes": null,
- "notes": null,
- "created_by": {
- "id": 1,
- "name": "admin",
- "first_name": "admin",
- "last_name": "admin",
- "address": null,
- "phone": null,
- "email": "aininr13@gmail.com",
- "created_at": "2022-05-12 11:32:41",
- "updated_at": "2022-05-12 11:32:41",
- "branch_id": null,
- "warehouse_id": null,
- "full_name": "admin admin"
}, - "updated_by": 1,
- "done": 0,
- "increment": 14,
- "increment_group": 202206,
- "formable_id": 66,
- "formable_type": "SalesDeliveryOrder",
- "request_approval_to": {
- "id": 1,
- "name": "admin",
- "first_name": "admin",
- "last_name": "admin",
- "address": null,
- "phone": null,
- "email": "aininr13@gmail.com",
- "created_at": "2022-05-12 11:32:41",
- "updated_at": "2022-05-12 11:32:41",
- "branch_id": null,
- "warehouse_id": null,
- "full_name": "admin admin"
}, - "approval_by": null,
- "approval_at": null,
- "approval_reason": null,
- "approval_status": 0,
- "request_cancellation_to": null,
- "request_cancellation_by": null,
- "request_cancellation_at": null,
- "request_cancellation_reason": null,
- "cancellation_approval_at": null,
- "cancellation_approval_by": null,
- "cancellation_approval_reason": null,
- "cancellation_status": null,
- "created_at": "2022-06-04 12:56:55",
- "updated_at": "2022-06-04 12:56:55",
- "request_approval_at": "2022-06-04 12:56:26",
- "request_close_to": null,
- "request_close_by": null,
- "request_close_at": null,
- "request_close_reason": null,
- "close_approval_at": null,
- "close_approval_by": null,
- "close_approval_reason": null,
- "close_status": null,
- "branch": {
- "id": 2,
- "name": "Harold Bechtelar",
- "address": "9031 Oma Rapids Suite 267\nCruickshankchester, MD 77841",
- "phone": "+5328350598643",
- "created_by": null,
- "updated_by": null,
- "archived_by": null,
- "created_at": "2022-05-12 11:33:49",
- "updated_at": "2022-05-12 11:33:49",
- "archived_at": null
}
}
}
}| id required | string Example: 59 |
object | |
| id | integer |
required | Array of objects |
| increment_group | string |
| date required | string |
| warehouse_id required | integer |
| warehouse_name | string |
| customer_id required | integer |
| customer_name | string |
| customer_label | string |
| customer_address | string |
| customer_phone | string |
| customer_email | string |
| pricing_group_id | integer |
| request_approval_to required | string |
| approver_name | string |
| approver_email | string |
| sales_order_id required | integer |
object |
{- "originalData": {
- "id": 66,
- "increment_group": "202206",
- "date": "2022-06-07 22:07:21",
- "warehouse_id": null,
- "warehouse_name": null,
- "customer_id": null,
- "customer_name": null,
- "customer_label": null,
- "customer_address": null,
- "customer_phone": null,
- "customer_email": null,
- "pricing_group_id": 1,
- "notes": null,
- "items": [ ],
- "request_approval_to": null,
- "approver_name": null,
- "approver_email": null,
- "sales_order_id": null
}, - "id": 66,
- "increment_group": "202206",
- "date": "2022-06-04 12:56:26",
- "warehouse_id": 2,
- "warehouse_name": "Hanna Schuster",
- "customer_id": 11,
- "customer_name": "AINI",
- "customer_label": "[CUST-0123] AINI",
- "customer_address": null,
- "customer_phone": null,
- "customer_email": null,
- "pricing_group_id": 1,
- "items": [
- {
- "id": 162,
- "delivery_order_id": 66,
- "sales_order_item_id": 26,
- "item_id": 8,
- "item_name": "Bulpoint",
- "price": 10000,
- "discount_percent": 0,
- "discount_value": 0,
- "taxable": 1,
- "unit": "PCS",
- "converter": 1,
- "notes": null,
- "allocation_id": null,
- "quantity_requested": "100",
- "quantity_delivered": "20",
- "quantity_remaining": 80,
- "converter_quantity": null,
- "item": {
- "id": 8,
- "chart_of_account_id": 9,
- "code": "B-12931",
- "barcode": null,
- "name": "Bulpoint",
- "size": null,
- "color": null,
- "weight": null,
- "notes": null,
- "taxable": 1,
- "require_production_number": 1,
- "require_expiry_date": 1,
- "stock": 100,
- "stock_reminder": 0,
- "unit_default": 9,
- "unit_default_purchase": 9,
- "unit_default_sales": 9,
- "created_by": 1,
- "updated_by": 1,
- "archived_by": null,
- "created_at": "2022-05-13 10:38:19",
- "updated_at": "2022-06-03 09:39:33",
- "archived_at": null,
- "label": "[B-12931] Bulpoint"
}, - "allocation": null,
- "more": false,
- "total": null,
- "item_label": "Bulpoint",
- "is_quantity_over": false
}, - {
- "id": 163,
- "delivery_order_id": 66,
- "sales_order_item_id": 27,
- "item_id": 7,
- "item_name": "Case",
- "price": 10000,
- "discount_percent": 0,
- "discount_value": 0,
- "taxable": 1,
- "unit": "PCS",
- "converter": 1,
- "notes": null,
- "allocation_id": null,
- "quantity_requested": "100",
- "quantity_delivered": "20",
- "quantity_remaining": 80,
- "converter_quantity": null,
- "item": {
- "id": 7,
- "chart_of_account_id": 9,
- "code": "B-1202",
- "barcode": null,
- "name": "Case",
- "size": null,
- "color": null,
- "weight": null,
- "notes": null,
- "taxable": 1,
- "require_production_number": 0,
- "require_expiry_date": 0,
- "stock": 0,
- "stock_reminder": 0,
- "unit_default": 7,
- "unit_default_purchase": 8,
- "unit_default_sales": 7,
- "created_by": 1,
- "updated_by": 1,
- "archived_by": null,
- "created_at": "2022-05-13 10:37:43",
- "updated_at": "2022-05-13 10:37:43",
- "archived_at": null,
- "label": "[B-1202] Case"
}, - "allocation": null,
- "more": false,
- "total": null,
- "item_label": "Case",
- "is_quantity_over": false
}, - {
- "id": 164,
- "delivery_order_id": 66,
- "sales_order_item_id": 28,
- "item_id": 9,
- "item_name": "Gelas",
- "price": 10000,
- "discount_percent": 0,
- "discount_value": 0,
- "taxable": 1,
- "unit": "PCS",
- "converter": 1,
- "notes": null,
- "allocation_id": null,
- "quantity_requested": "100",
- "quantity_delivered": "20",
- "quantity_remaining": 80,
- "converter_quantity": null,
- "item": {
- "id": 9,
- "chart_of_account_id": 9,
- "code": "B-1282192",
- "barcode": null,
- "name": "Gelas",
- "size": null,
- "color": null,
- "weight": null,
- "notes": null,
- "taxable": 1,
- "require_production_number": 1,
- "require_expiry_date": 1,
- "stock": 0,
- "stock_reminder": 0,
- "unit_default": 10,
- "unit_default_purchase": 10,
- "unit_default_sales": 10,
- "created_by": 1,
- "updated_by": 1,
- "archived_by": null,
- "created_at": "2022-05-13 10:38:42",
- "updated_at": "2022-05-13 10:38:42",
- "archived_at": null,
- "label": "[B-1282192] Gelas"
}, - "allocation": null,
- "more": false,
- "total": null,
- "item_label": "Gelas",
- "is_quantity_over": false
}, - {
- "id": 165,
- "delivery_order_id": 66,
- "sales_order_item_id": 29,
- "item_id": 6,
- "item_name": "Jam",
- "price": 10000,
- "discount_percent": 0,
- "discount_value": 0,
- "taxable": 1,
- "unit": "PCS",
- "converter": 1,
- "notes": null,
- "allocation_id": null,
- "quantity_requested": "100",
- "quantity_delivered": "20",
- "quantity_remaining": 80,
- "converter_quantity": null,
- "item": {
- "id": 6,
- "chart_of_account_id": 9,
- "code": "B-1203812",
- "barcode": null,
- "name": "Jam",
- "size": null,
- "color": null,
- "weight": null,
- "notes": null,
- "taxable": 1,
- "require_production_number": 1,
- "require_expiry_date": 1,
- "stock": 0,
- "stock_reminder": 0,
- "unit_default": 6,
- "unit_default_purchase": 6,
- "unit_default_sales": 6,
- "created_by": 1,
- "updated_by": 1,
- "archived_by": null,
- "created_at": "2022-05-13 10:36:58",
- "updated_at": "2022-05-13 10:36:58",
- "archived_at": null,
- "label": "[B-1203812] Jam"
}, - "allocation": null,
- "more": false,
- "total": null,
- "item_label": "Jam",
- "is_quantity_over": false
}
], - "request_approval_to": 1,
- "approver_name": "admin admin",
- "approver_email": "aininr13@gmail.com",
- "sales_order_id": 12,
- "errors": {
- "errors": { }
}
}{- "warehouse_id": 2,
- "customer_id": 11,
- "customer_name": "AINI",
- "customer_address": null,
- "customer_phone": null,
- "sales_order_id": 12,
- "id": 69,
- "sales_order": {
- "id": 12,
- "sales_quotation_id": null,
- "sales_contract_id": null,
- "customer_id": 11,
- "customer_name": "AINI",
- "customer_address": null,
- "customer_phone": null,
- "billing_address": null,
- "billing_phone": null,
- "billing_email": null,
- "shipping_address": null,
- "shipping_phone": null,
- "shipping_email": null,
- "warehouse_id": null,
- "eta": "-0001-11-30 06:42:04",
- "cash_only": 0,
- "need_down_payment": 0,
- "delivery_fee": 0,
- "discount_percent": 0,
- "discount_value": 0,
- "type_of_tax": "exclude",
- "tax": 400000,
- "amount": 4400000,
- "created_at": "2022-06-07 22:07:28",
- "updated_at": "2022-06-07 22:07:28",
- "items": [
- {
- "id": 26,
- "sales_order_id": 12,
- "sales_quotation_item_id": null,
- "sales_contract_item_id": null,
- "sales_contract_group_item_id": null,
- "item_id": 6,
- "item_name": "Jam",
- "quantity": 100,
- "unit": "PCS",
- "converter": 1,
- "price": 10000,
- "discount_percent": 0,
- "discount_value": 0,
- "taxable": 1,
- "notes": null,
- "allocation_id": null,
- "quantity_remaining": "100.000000000000000000000000000000",
- "item": {
- "id": 6,
- "chart_of_account_id": 9,
- "code": "B-1203812",
- "barcode": null,
- "name": "Jam",
- "size": null,
- "color": null,
- "weight": null,
- "notes": null,
- "taxable": 1,
- "require_production_number": 1,
- "require_expiry_date": 1,
- "stock": 0,
- "stock_reminder": 0,
- "unit_default": 6,
- "unit_default_purchase": 6,
- "unit_default_sales": 6,
- "created_by": 1,
- "updated_by": 1,
- "archived_by": null,
- "created_at": "2022-05-13 10:36:58",
- "updated_at": "2022-05-13 10:36:58",
- "archived_at": null,
- "label": "[B-1203812] Jam",
- "smallest_unit": {
- "id": 6,
- "label": "PCS",
- "name": "PCS",
- "converter": 1,
- "disabled": 0,
- "item_id": 6,
- "created_by": 1,
- "updated_by": 1,
- "created_at": "2022-05-13 10:36:58",
- "updated_at": "2022-05-13 10:36:58"
}
}, - "delivery_order_items": [
- {
- "id": 177,
- "delivery_order_id": 69,
- "sales_order_item_id": 29,
- "item_id": 6,
- "item_name": "Jam",
- "price": 10000,
- "discount_percent": 0,
- "discount_value": 0,
- "taxable": 1,
- "unit": "PCS",
- "converter": 1,
- "notes": null,
- "allocation_id": null,
- "quantity_requested": 100,
- "quantity_delivered": 20,
- "quantity_remaining": 80,
- "converter_quantity": null,
- "delivery_order": {
- "id": 69,
- "customer_id": 11,
- "warehouse_id": 2,
- "sales_order_id": 12,
- "customer_name": "AINI",
- "customer_address": null,
- "customer_phone": null,
- "billing_address": null,
- "billing_phone": null,
- "billing_email": null,
- "shipping_address": null,
- "shipping_phone": null,
- "shipping_email": null,
- "form": {
- "id": 114,
- "branch_id": 2,
- "date": "2022-06-04 12:56:26",
- "number": "DO22060014",
- "edited_number": null,
- "edited_notes": null,
- "notes": null,
- "created_by": 2,
- "updated_by": 2,
- "done": 0,
- "increment": 14,
- "increment_group": 202206,
- "formable_id": 69,
- "formable_type": "SalesDeliveryOrder",
- "request_approval_to": 1,
- "approval_by": null,
- "approval_at": null,
- "approval_reason": null,
- "approval_status": 0,
- "request_cancellation_to": null,
- "request_cancellation_by": null,
- "request_cancellation_at": null,
- "request_cancellation_reason": null,
- "cancellation_approval_at": null,
- "cancellation_approval_by": null,
- "cancellation_approval_reason": null,
- "cancellation_status": null,
- "created_at": "2022-06-07 22:07:28",
- "updated_at": "2022-06-07 22:07:28",
- "request_approval_at": null,
- "request_close_to": null,
- "request_close_by": null,
- "request_close_at": null,
- "request_close_reason": null,
- "close_approval_at": null,
- "close_approval_by": null,
- "close_approval_reason": null,
- "close_status": null
}
}
}
]
}
], - "form": {
- "id": 41,
- "branch_id": 2,
- "date": "2022-05-18 09:52:13",
- "number": "SO22050009",
- "edited_number": null,
- "edited_notes": null,
- "notes": null,
- "created_by": 1,
- "updated_by": 2,
- "done": false,
- "increment": 9,
- "increment_group": 202205,
- "formable_id": 12,
- "formable_type": "SalesOrder",
- "request_approval_to": 1,
- "approval_by": 1,
- "approval_at": "2022-05-18 02:53:07",
- "approval_reason": null,
- "approval_status": 1,
- "request_cancellation_to": null,
- "request_cancellation_by": null,
- "request_cancellation_at": null,
- "request_cancellation_reason": null,
- "cancellation_approval_at": null,
- "cancellation_approval_by": null,
- "cancellation_approval_reason": null,
- "cancellation_status": null,
- "created_at": "2022-05-18 09:53:04",
- "updated_at": "2022-06-07 22:07:28",
- "request_approval_at": null,
- "request_close_to": null,
- "request_close_by": null,
- "request_close_at": null,
- "request_close_reason": null,
- "close_approval_at": null,
- "close_approval_by": null,
- "close_approval_reason": null,
- "close_status": null
}
}, - "form": {
- "id": 114,
- "branch_id": 2,
- "date": "2022-06-04 12:56:26",
- "number": "DO22060014",
- "edited_number": null,
- "edited_notes": null,
- "notes": null,
- "created_by": 2,
- "updated_by": 2,
- "done": 0,
- "increment": 14,
- "increment_group": 202206,
- "formable_id": 69,
- "formable_type": "SalesDeliveryOrder",
- "request_approval_to": 1,
- "approval_by": null,
- "approval_at": null,
- "approval_reason": null,
- "approval_status": 0,
- "request_cancellation_to": null,
- "request_cancellation_by": null,
- "request_cancellation_at": null,
- "request_cancellation_reason": null,
- "cancellation_approval_at": null,
- "cancellation_approval_by": null,
- "cancellation_approval_reason": null,
- "cancellation_status": null,
- "created_at": "2022-06-07 22:07:28",
- "updated_at": "2022-06-07 22:07:28",
- "request_approval_at": null,
- "request_close_to": null,
- "request_close_by": null,
- "request_close_at": null,
- "request_close_reason": null,
- "close_approval_at": null,
- "close_approval_by": null,
- "close_approval_reason": null,
- "close_status": null
}, - "customer": {
- "id": 11,
- "code": "CUST-0123",
- "tax_identification_number": null,
- "name": "AINI",
- "address": null,
- "city": null,
- "state": null,
- "country": null,
- "zip_code": null,
- "latitude": null,
- "longitude": null,
- "phone": null,
- "phone_cc": null,
- "email": null,
- "notes": null,
- "credit_limit": 0,
- "branch_id": 2,
- "created_by": 1,
- "updated_by": 1,
- "archived_by": null,
- "pricing_group_id": 1,
- "created_at": "2022-05-18 09:49:41",
- "updated_at": "2022-05-18 09:49:41",
- "archived_at": null,
- "label": "[CUST-0123] AINI"
}, - "items": [
- {
- "id": 174,
- "delivery_order_id": 69,
- "sales_order_item_id": 26,
- "item_id": 8,
- "item_name": "Bulpoint",
- "price": 10000,
- "discount_percent": 0,
- "discount_value": 0,
- "taxable": 1,
- "unit": "PCS",
- "converter": 1,
- "notes": null,
- "allocation_id": null,
- "quantity_requested": 100,
- "quantity_delivered": 20,
- "quantity_remaining": 80,
- "converter_quantity": null
}
]
}| id required | string Example: 66 |
| sort_by | string Example: sort_by=-user_activities.date |
| includes | string Example: includes=user |
| filter_like | string Example: filter_like={} |
| or_filter_where_has_like[] | string Example: or_filter_where_has_like[]={"user":{}} |
| limit | integer Example: limit=10 |
| page | integer Example: page=1 |
{- "data": [
- {
- "id": 253,
- "table_type": "forms",
- "table_id": 110,
- "number": "DO22060014",
- "date": "2022-06-04 12:56:55",
- "user_id": 1,
- "activity": "Created",
- "formable_id": 66,
- "user": {
- "id": 1,
- "name": "admin",
- "first_name": "admin",
- "last_name": "admin",
- "address": null,
- "phone": null,
- "email": "aininr13@gmail.com",
- "created_at": "2022-05-12 11:32:41",
- "updated_at": "2022-05-12 11:32:41",
- "branch_id": null,
- "warehouse_id": null,
- "full_name": "admin admin"
}
}
], - "links": {
- "prev": null,
- "next": null
}, - "meta": {
- "current_page": 1,
- "from": 1,
- "last_page": 1,
- "per_page": "10",
- "to": 2,
- "total": 2
}
}| id required | any |
| id required | integer |
| activity required | string |
{- "id": 66,
- "activity": "Printed"
}{- "data": {
- "table_type": "forms",
- "table_id": 110,
- "number": null,
- "date": "2022-06-07 22:33:04",
- "user_id": 2,
- "activity": "Printed",
- "id": 274
}
}| id required | string Example: 66 |
| id required | string |
{- "id": "66"
}{- "data": {
- "id": 66,
- "customer_id": 11,
- "warehouse_id": 2,
- "sales_order_id": 12,
- "customer_name": "AINI",
- "customer_address": null,
- "customer_phone": null,
- "billing_address": null,
- "billing_phone": null,
- "billing_email": null,
- "shipping_address": null,
- "shipping_phone": null,
- "shipping_email": null,
- "form": {
- "id": 110,
- "branch_id": 2,
- "date": "2022-06-04 12:56:26",
- "number": "DO22060014",
- "edited_number": "DO22060014",
- "edited_notes": null,
- "notes": null,
- "created_by": 1,
- "updated_by": 1,
- "done": 0,
- "increment": 14,
- "increment_group": 202206,
- "formable_id": 66,
- "formable_type": "SalesDeliveryOrder",
- "request_approval_to": 1,
- "approval_by": 1,
- "approval_at": "2022-06-07T15:11:00.195954Z",
- "approval_reason": null,
- "approval_status": 1,
- "request_cancellation_to": null,
- "request_cancellation_by": null,
- "request_cancellation_at": null,
- "request_cancellation_reason": null,
- "cancellation_approval_at": null,
- "cancellation_approval_by": null,
- "cancellation_approval_reason": null,
- "cancellation_status": null,
- "created_at": "2022-06-04 12:56:55",
- "updated_at": "2022-06-07 22:11:00",
- "request_approval_at": "2022-06-04 12:56:26",
- "request_close_to": null,
- "request_close_by": null,
- "request_close_at": null,
- "request_close_reason": null,
- "close_approval_at": null,
- "close_approval_by": null,
- "close_approval_reason": null,
- "close_status": null
}, - "sales_order": {
- "id": 12,
- "sales_quotation_id": null,
- "sales_contract_id": null,
- "customer_id": 11,
- "customer_name": "AINI",
- "customer_address": null,
- "customer_phone": null,
- "billing_address": null,
- "billing_phone": null,
- "billing_email": null,
- "shipping_address": null,
- "shipping_phone": null,
- "shipping_email": null,
- "warehouse_id": null,
- "eta": "-0001-11-30 06:42:04",
- "cash_only": 0,
- "need_down_payment": 0,
- "delivery_fee": 0,
- "discount_percent": 0,
- "discount_value": 0,
- "type_of_tax": "exclude",
- "tax": 400000,
- "amount": 4400000,
- "created_at": "2022-06-07 22:11:00",
- "updated_at": "2022-06-07 22:11:00",
- "items": [
- {
- "id": 26,
- "sales_order_id": 12,
- "sales_quotation_item_id": null,
- "sales_contract_item_id": null,
- "sales_contract_group_item_id": null,
- "item_id": 8,
- "item_name": "Bulpoint",
- "quantity": 100,
- "unit": "PCS",
- "converter": 1,
- "price": 10000,
- "discount_percent": 0,
- "discount_value": 0,
- "taxable": 1,
- "notes": null,
- "allocation_id": null,
- "quantity_remaining": "100.000000000000000000000000000000",
- "delivery_order_items": [
- {
- "id": 174,
- "delivery_order_id": 69,
- "sales_order_item_id": 26,
- "item_id": 8,
- "item_name": "Bulpoint",
- "price": 10000,
- "discount_percent": 0,
- "discount_value": 0,
- "taxable": 1,
- "unit": "PCS",
- "converter": 1,
- "notes": null,
- "allocation_id": null,
- "quantity_requested": 100,
- "quantity_delivered": 20,
- "quantity_remaining": 80,
- "converter_quantity": null,
- "delivery_order": {
- "id": 69,
- "customer_id": 11,
- "warehouse_id": 2,
- "sales_order_id": 12,
- "customer_name": "AINI",
- "customer_address": null,
- "customer_phone": null,
- "billing_address": null,
- "billing_phone": null,
- "billing_email": null,
- "shipping_address": null,
- "shipping_phone": null,
- "shipping_email": null,
- "form": {
- "id": 114,
- "branch_id": 2,
- "date": "2022-06-04 12:56:26",
- "number": "DO22060014",
- "edited_number": null,
- "edited_notes": null,
- "notes": null,
- "created_by": 2,
- "updated_by": 2,
- "done": 0,
- "increment": 14,
- "increment_group": 202206,
- "formable_id": 69,
- "formable_type": "SalesDeliveryOrder",
- "request_approval_to": 1,
- "approval_by": null,
- "approval_at": null,
- "approval_reason": null,
- "approval_status": 0,
- "request_cancellation_to": null,
- "request_cancellation_by": null,
- "request_cancellation_at": null,
- "request_cancellation_reason": null,
- "cancellation_approval_at": null,
- "cancellation_approval_by": null,
- "cancellation_approval_reason": null,
- "cancellation_status": null,
- "created_at": "2022-06-07 22:07:28",
- "updated_at": "2022-06-07 22:07:28",
- "request_approval_at": null,
- "request_close_to": null,
- "request_close_by": null,
- "request_close_at": null,
- "request_close_reason": null,
- "close_approval_at": null,
- "close_approval_by": null,
- "close_approval_reason": null,
- "close_status": null
}
}
}
], - "item": {
- "id": 8,
- "chart_of_account_id": 9,
- "code": "B-12931",
- "barcode": null,
- "name": "Bulpoint",
- "size": null,
- "color": null,
- "weight": null,
- "notes": null,
- "taxable": 1,
- "require_production_number": 1,
- "require_expiry_date": 1,
- "stock": 100,
- "stock_reminder": 0,
- "unit_default": 9,
- "unit_default_purchase": 9,
- "unit_default_sales": 9,
- "created_by": 1,
- "updated_by": 1,
- "archived_by": null,
- "created_at": "2022-05-13 10:38:19",
- "updated_at": "2022-06-03 09:39:33",
- "archived_at": null,
- "label": "[B-12931] Bulpoint",
- "smallest_unit": {
- "id": 9,
- "label": "PCS",
- "name": "PCS",
- "converter": 1,
- "disabled": 0,
- "item_id": 8,
- "created_by": 1,
- "updated_by": 1,
- "created_at": "2022-05-13 10:38:19",
- "updated_at": "2022-05-13 10:38:19"
}
}
}, - {
- "id": 27,
- "sales_order_id": 12,
- "sales_quotation_item_id": null,
- "sales_contract_item_id": null,
- "sales_contract_group_item_id": null,
- "item_id": 7,
- "item_name": "Case",
- "quantity": 100,
- "unit": "PCS",
- "converter": 1,
- "price": 10000,
- "discount_percent": 0,
- "discount_value": 0,
- "taxable": 1,
- "notes": null,
- "allocation_id": null,
- "quantity_remaining": "100.000000000000000000000000000000",
- "delivery_order_items": [
- {
- "id": 175,
- "delivery_order_id": 69,
- "sales_order_item_id": 27,
- "item_id": 7,
- "item_name": "Case",
- "price": 10000,
- "discount_percent": 0,
- "discount_value": 0,
- "taxable": 1,
- "unit": "PCS",
- "converter": 1,
- "notes": null,
- "allocation_id": null,
- "quantity_requested": 100,
- "quantity_delivered": 20,
- "quantity_remaining": 80,
- "converter_quantity": null,
- "delivery_order": {
- "id": 69,
- "customer_id": 11,
- "warehouse_id": 2,
- "sales_order_id": 12,
- "customer_name": "AINI",
- "customer_address": null,
- "customer_phone": null,
- "billing_address": null,
- "billing_phone": null,
- "billing_email": null,
- "shipping_address": null,
- "shipping_phone": null,
- "shipping_email": null,
- "form": {
- "id": 114,
- "branch_id": 2,
- "date": "2022-06-04 12:56:26",
- "number": "DO22060014",
- "edited_number": null,
- "edited_notes": null,
- "notes": null,
- "created_by": 2,
- "updated_by": 2,
- "done": 0,
- "increment": 14,
- "increment_group": 202206,
- "formable_id": 69,
- "formable_type": "SalesDeliveryOrder",
- "request_approval_to": 1,
- "approval_by": null,
- "approval_at": null,
- "approval_reason": null,
- "approval_status": 0,
- "request_cancellation_to": null,
- "request_cancellation_by": null,
- "request_cancellation_at": null,
- "request_cancellation_reason": null,
- "cancellation_approval_at": null,
- "cancellation_approval_by": null,
- "cancellation_approval_reason": null,
- "cancellation_status": null,
- "created_at": "2022-06-07 22:07:28",
- "updated_at": "2022-06-07 22:07:28",
- "request_approval_at": null,
- "request_close_to": null,
- "request_close_by": null,
- "request_close_at": null,
- "request_close_reason": null,
- "close_approval_at": null,
- "close_approval_by": null,
- "close_approval_reason": null,
- "close_status": null
}
}
}
], - "item": {
- "id": 7,
- "chart_of_account_id": 9,
- "code": "B-1202",
- "barcode": null,
- "name": "Case",
- "size": null,
- "color": null,
- "weight": null,
- "notes": null,
- "taxable": 1,
- "require_production_number": 0,
- "require_expiry_date": 0,
- "stock": 0,
- "stock_reminder": 0,
- "unit_default": 7,
- "unit_default_purchase": 8,
- "unit_default_sales": 7,
- "created_by": 1,
- "updated_by": 1,
- "archived_by": null,
- "created_at": "2022-05-13 10:37:43",
- "updated_at": "2022-05-13 10:37:43",
- "archived_at": null,
- "label": "[B-1202] Case",
- "smallest_unit": {
- "id": 7,
- "label": "PCS",
- "name": "PCS",
- "converter": 1,
- "disabled": 0,
- "item_id": 7,
- "created_by": 1,
- "updated_by": 1,
- "created_at": "2022-05-13 10:37:43",
- "updated_at": "2022-05-13 10:37:43"
}
}
}, - {
- "id": 28,
- "sales_order_id": 12,
- "sales_quotation_item_id": null,
- "sales_contract_item_id": null,
- "sales_contract_group_item_id": null,
- "item_id": 9,
- "item_name": "Gelas",
- "quantity": 100,
- "unit": "PCS",
- "converter": 1,
- "price": 10000,
- "discount_percent": 0,
- "discount_value": 0,
- "taxable": 1,
- "notes": null,
- "allocation_id": null,
- "quantity_remaining": "100.000000000000000000000000000000",
- "delivery_order_items": [
- {
- "id": 176,
- "delivery_order_id": 69,
- "sales_order_item_id": 28,
- "item_id": 9,
- "item_name": "Gelas",
- "price": 10000,
- "discount_percent": 0,
- "discount_value": 0,
- "taxable": 1,
- "unit": "PCS",
- "converter": 1,
- "notes": null,
- "allocation_id": null,
- "quantity_requested": 100,
- "quantity_delivered": 20,
- "quantity_remaining": 80,
- "converter_quantity": null,
- "delivery_order": {
- "id": 69,
- "customer_id": 11,
- "warehouse_id": 2,
- "sales_order_id": 12,
- "customer_name": "AINI",
- "customer_address": null,
- "customer_phone": null,
- "billing_address": null,
- "billing_phone": null,
- "billing_email": null,
- "shipping_address": null,
- "shipping_phone": null,
- "shipping_email": null,
- "form": {
- "id": 114,
- "branch_id": 2,
- "date": "2022-06-04 12:56:26",
- "number": "DO22060014",
- "edited_number": null,
- "edited_notes": null,
- "notes": null,
- "created_by": 2,
- "updated_by": 2,
- "done": 0,
- "increment": 14,
- "increment_group": 202206,
- "formable_id": 69,
- "formable_type": "SalesDeliveryOrder",
- "request_approval_to": 1,
- "approval_by": null,
- "approval_at": null,
- "approval_reason": null,
- "approval_status": 0,
- "request_cancellation_to": null,
- "request_cancellation_by": null,
- "request_cancellation_at": null,
- "request_cancellation_reason": null,
- "cancellation_approval_at": null,
- "cancellation_approval_by": null,
- "cancellation_approval_reason": null,
- "cancellation_status": null,
- "created_at": "2022-06-07 22:07:28",
- "updated_at": "2022-06-07 22:07:28",
- "request_approval_at": null,
- "request_close_to": null,
- "request_close_by": null,
- "request_close_at": null,
- "request_close_reason": null,
- "close_approval_at": null,
- "close_approval_by": null,
- "close_approval_reason": null,
- "close_status": null
}
}
}
], - "item": {
- "id": 9,
- "chart_of_account_id": 9,
- "code": "B-1282192",
- "barcode": null,
- "name": "Gelas",
- "size": null,
- "color": null,
- "weight": null,
- "notes": null,
- "taxable": 1,
- "require_production_number": 1,
- "require_expiry_date": 1,
- "stock": 0,
- "stock_reminder": 0,
- "unit_default": 10,
- "unit_default_purchase": 10,
- "unit_default_sales": 10,
- "created_by": 1,
- "updated_by": 1,
- "archived_by": null,
- "created_at": "2022-05-13 10:38:42",
- "updated_at": "2022-05-13 10:38:42",
- "archived_at": null,
- "label": "[B-1282192] Gelas",
- "smallest_unit": {
- "id": 10,
- "label": "PCS",
- "name": "PCS",
- "converter": 1,
- "disabled": 0,
- "item_id": 9,
- "created_by": 1,
- "updated_by": 1,
- "created_at": "2022-05-13 10:38:42",
- "updated_at": "2022-05-13 10:38:42"
}
}
}, - {
- "id": 29,
- "sales_order_id": 12,
- "sales_quotation_item_id": null,
- "sales_contract_item_id": null,
- "sales_contract_group_item_id": null,
- "item_id": 6,
- "item_name": "Jam",
- "quantity": 100,
- "unit": "PCS",
- "converter": 1,
- "price": 10000,
- "discount_percent": 0,
- "discount_value": 0,
- "taxable": 1,
- "notes": null,
- "allocation_id": null,
- "quantity_remaining": "100.000000000000000000000000000000",
- "delivery_order_items": [
- {
- "id": 177,
- "delivery_order_id": 69,
- "sales_order_item_id": 29,
- "item_id": 6,
- "item_name": "Jam",
- "price": 10000,
- "discount_percent": 0,
- "discount_value": 0,
- "taxable": 1,
- "unit": "PCS",
- "converter": 1,
- "notes": null,
- "allocation_id": null,
- "quantity_requested": 100,
- "quantity_delivered": 20,
- "quantity_remaining": 80,
- "converter_quantity": null,
- "delivery_order": {
- "id": 69,
- "customer_id": 11,
- "warehouse_id": 2,
- "sales_order_id": 12,
- "customer_name": "AINI",
- "customer_address": null,
- "customer_phone": null,
- "billing_address": null,
- "billing_phone": null,
- "billing_email": null,
- "shipping_address": null,
- "shipping_phone": null,
- "shipping_email": null,
- "form": {
- "id": 114,
- "branch_id": 2,
- "date": "2022-06-04 12:56:26",
- "number": "DO22060014",
- "edited_number": null,
- "edited_notes": null,
- "notes": null,
- "created_by": 2,
- "updated_by": 2,
- "done": 0,
- "increment": 14,
- "increment_group": 202206,
- "formable_id": 69,
- "formable_type": "SalesDeliveryOrder",
- "request_approval_to": 1,
- "approval_by": null,
- "approval_at": null,
- "approval_reason": null,
- "approval_status": 0,
- "request_cancellation_to": null,
- "request_cancellation_by": null,
- "request_cancellation_at": null,
- "request_cancellation_reason": null,
- "cancellation_approval_at": null,
- "cancellation_approval_by": null,
- "cancellation_approval_reason": null,
- "cancellation_status": null,
- "created_at": "2022-06-07 22:07:28",
- "updated_at": "2022-06-07 22:07:28",
- "request_approval_at": null,
- "request_close_to": null,
- "request_close_by": null,
- "request_close_at": null,
- "request_close_reason": null,
- "close_approval_at": null,
- "close_approval_by": null,
- "close_approval_reason": null,
- "close_status": null
}
}
}
], - "item": {
- "id": 6,
- "chart_of_account_id": 9,
- "code": "B-1203812",
- "barcode": null,
- "name": "Jam",
- "size": null,
- "color": null,
- "weight": null,
- "notes": null,
- "taxable": 1,
- "require_production_number": 1,
- "require_expiry_date": 1,
- "stock": 0,
- "stock_reminder": 0,
- "unit_default": 6,
- "unit_default_purchase": 6,
- "unit_default_sales": 6,
- "created_by": 1,
- "updated_by": 1,
- "archived_by": null,
- "created_at": "2022-05-13 10:36:58",
- "updated_at": "2022-05-13 10:36:58",
- "archived_at": null,
- "label": "[B-1203812] Jam",
- "smallest_unit": {
- "id": 6,
- "label": "PCS",
- "name": "PCS",
- "converter": 1,
- "disabled": 0,
- "item_id": 6,
- "created_by": 1,
- "updated_by": 1,
- "created_at": "2022-05-13 10:36:58",
- "updated_at": "2022-05-13 10:36:58"
}
}
}
], - "form": {
- "id": 41,
- "branch_id": 2,
- "date": "2022-05-18 09:52:13",
- "number": "SO22050009",
- "edited_number": null,
- "edited_notes": null,
- "notes": null,
- "created_by": 1,
- "updated_by": 1,
- "done": false,
- "increment": 9,
- "increment_group": 202205,
- "formable_id": 12,
- "formable_type": "SalesOrder",
- "request_approval_to": 1,
- "approval_by": 1,
- "approval_at": "2022-05-18 02:53:07",
- "approval_reason": null,
- "approval_status": 1,
- "request_cancellation_to": null,
- "request_cancellation_by": null,
- "request_cancellation_at": null,
- "request_cancellation_reason": null,
- "cancellation_approval_at": null,
- "cancellation_approval_by": null,
- "cancellation_approval_reason": null,
- "cancellation_status": null,
- "created_at": "2022-05-18 09:53:04",
- "updated_at": "2022-06-07 22:11:00",
- "request_approval_at": null,
- "request_close_to": null,
- "request_close_by": null,
- "request_close_at": null,
- "request_close_reason": null,
- "close_approval_at": null,
- "close_approval_by": null,
- "close_approval_reason": null,
- "close_status": null
}
}
}
}| id required | string Example: 69 |
| id required | string |
| reason required | string |
{- "id": 69,
- "reason": "reason delivery order rejected"
}{- "data": {
- "id": 69,
- "customer_id": 11,
- "warehouse_id": 2,
- "sales_order_id": 12,
- "customer_name": "AINI",
- "customer_address": null,
- "customer_phone": null,
- "billing_address": null,
- "billing_phone": null,
- "billing_email": null,
- "shipping_address": null,
- "shipping_phone": null,
- "shipping_email": null,
- "form": {
- "id": 114,
- "branch_id": 2,
- "date": "2022-06-04 12:56:26",
- "number": "DO22060014",
- "edited_number": null,
- "edited_notes": null,
- "notes": null,
- "created_by": 2,
- "updated_by": 1,
- "done": 0,
- "increment": 14,
- "increment_group": 202206,
- "formable_id": 69,
- "formable_type": "SalesDeliveryOrder",
- "request_approval_to": 1,
- "approval_by": 1,
- "approval_at": "2022-06-07T15:12:08.489239Z",
- "approval_reason": "reason delivery order rejected",
- "approval_status": -1,
- "request_cancellation_to": null,
- "request_cancellation_by": null,
- "request_cancellation_at": null,
- "request_cancellation_reason": null,
- "cancellation_approval_at": null,
- "cancellation_approval_by": null,
- "cancellation_approval_reason": null,
- "cancellation_status": null,
- "created_at": "2022-06-07 22:07:28",
- "updated_at": "2022-06-07 22:12:08",
- "request_approval_at": null,
- "request_close_to": null,
- "request_close_by": null,
- "request_close_at": null,
- "request_close_reason": null,
- "close_approval_at": null,
- "close_approval_by": null,
- "close_approval_reason": null,
- "close_status": null
}
}
}| id required | string Example: 69 |
| id required | integer |
{- "id": 69
}{- "data": {
- "id": 69,
- "customer_id": 11,
- "warehouse_id": 2,
- "sales_order_id": 12,
- "customer_name": "AINI",
- "customer_address": null,
- "customer_phone": null,
- "billing_address": null,
- "billing_phone": null,
- "billing_email": null,
- "shipping_address": null,
- "shipping_phone": null,
- "shipping_email": null,
- "form": {
- "id": 114,
- "branch_id": 2,
- "date": "2022-06-04 12:56:26",
- "number": "DO22060014",
- "edited_number": null,
- "edited_notes": null,
- "notes": null,
- "created_by": 2,
- "updated_by": 1,
- "done": 0,
- "increment": 14,
- "increment_group": 202206,
- "formable_id": 69,
- "formable_type": "SalesDeliveryOrder",
- "request_approval_to": 1,
- "approval_by": 1,
- "approval_at": "2022-06-07 15:12:08",
- "approval_reason": "reason delivery order rejected",
- "approval_status": -1,
- "request_cancellation_to": 1,
- "request_cancellation_by": 2,
- "request_cancellation_at": "2022-06-07 15:13:51",
- "request_cancellation_reason": "cancel delivery order reason",
- "cancellation_approval_at": "2022-06-07T15:14:39.547473Z",
- "cancellation_approval_by": 1,
- "cancellation_approval_reason": null,
- "cancellation_status": 1,
- "created_at": "2022-06-07 22:07:28",
- "updated_at": "2022-06-07 22:14:39",
- "request_approval_at": null,
- "request_close_to": null,
- "request_close_by": null,
- "request_close_at": null,
- "request_close_reason": null,
- "close_approval_at": null,
- "close_approval_by": null,
- "close_approval_reason": null,
- "close_status": null
}, - "delivery_notes": [ ],
- "sales_order": {
- "id": 12,
- "sales_quotation_id": null,
- "sales_contract_id": null,
- "customer_id": 11,
- "customer_name": "AINI",
- "customer_address": null,
- "customer_phone": null,
- "billing_address": null,
- "billing_phone": null,
- "billing_email": null,
- "shipping_address": null,
- "shipping_phone": null,
- "shipping_email": null,
- "warehouse_id": null,
- "eta": "-0001-11-30 06:42:04",
- "cash_only": 0,
- "need_down_payment": 0,
- "delivery_fee": 0,
- "discount_percent": 0,
- "discount_value": 0,
- "type_of_tax": "exclude",
- "tax": 400000,
- "amount": 4400000,
- "created_at": "2022-06-07 22:14:39",
- "updated_at": "2022-06-07 22:14:39",
- "form": {
- "id": 41,
- "branch_id": 2,
- "date": "2022-05-18 09:52:13",
- "number": "SO22050009",
- "edited_number": null,
- "edited_notes": null,
- "notes": null,
- "created_by": 1,
- "updated_by": 1,
- "done": false,
- "increment": 9,
- "increment_group": 202205,
- "formable_id": 12,
- "formable_type": "SalesOrder",
- "request_approval_to": 1,
- "approval_by": 1,
- "approval_at": "2022-05-18 02:53:07",
- "approval_reason": null,
- "approval_status": 1,
- "request_cancellation_to": null,
- "request_cancellation_by": null,
- "request_cancellation_at": null,
- "request_cancellation_reason": null,
- "cancellation_approval_at": null,
- "cancellation_approval_by": null,
- "cancellation_approval_reason": null,
- "cancellation_status": null,
- "created_at": "2022-05-18 09:53:04",
- "updated_at": "2022-06-07 22:14:39",
- "request_approval_at": null,
- "request_close_to": null,
- "request_close_by": null,
- "request_close_at": null,
- "request_close_reason": null,
- "close_approval_at": null,
- "close_approval_by": null,
- "close_approval_reason": null,
- "close_status": null
}
}
}
}| id required | string Example: 67 |
| id required | integer |
| reason required | string |
{- "id": 67,
- "reason": "cancellation reject reason"
}{- "id": 67,
- "customer_id": 12,
- "warehouse_id": 2,
- "sales_order_id": 18,
- "customer_name": "PINNAPLE",
- "customer_address": null,
- "customer_phone": null,
- "billing_address": null,
- "billing_phone": null,
- "billing_email": null,
- "shipping_address": null,
- "shipping_phone": null,
- "shipping_email": null,
- "form": {
- "id": 112,
- "branch_id": 2,
- "date": "2022-06-07 22:05:04",
- "number": "DO22060015",
- "edited_number": null,
- "edited_notes": null,
- "notes": null,
- "created_by": 2,
- "updated_by": 1,
- "done": 0,
- "increment": 15,
- "increment_group": 202206,
- "formable_id": 67,
- "formable_type": "SalesDeliveryOrder",
- "request_approval_to": 1,
- "approval_by": null,
- "approval_at": null,
- "approval_reason": null,
- "approval_status": 0,
- "request_cancellation_to": 1,
- "request_cancellation_by": 1,
- "request_cancellation_at": "2022-06-07 15:16:30",
- "request_cancellation_reason": "cancellation request reason",
- "cancellation_approval_at": "2022-06-07T15:17:29.029641Z",
- "cancellation_approval_by": 1,
- "cancellation_approval_reason": "cancellation reject reason",
- "cancellation_status": -1,
- "created_at": "2022-06-07 22:05:31",
- "updated_at": "2022-06-07 22:17:29",
- "request_approval_at": "2022-06-07 22:05:04",
- "request_close_to": null,
- "request_close_by": null,
- "request_close_at": null,
- "request_close_reason": null,
- "close_approval_at": null,
- "close_approval_by": null,
- "close_approval_reason": null,
- "close_status": null
}, - "delivery_notes": [ ]
}| id required | string Example: 59 |
| id required | string |
{- "id": 59
}{- "id": 59,
- "customer_id": 11,
- "warehouse_id": 2,
- "sales_order_id": 23,
- "customer_name": "AINI",
- "customer_address": null,
- "customer_phone": null,
- "billing_address": null,
- "billing_phone": null,
- "billing_email": null,
- "shipping_address": null,
- "shipping_phone": null,
- "shipping_email": null,
- "form": {
- "id": 103,
- "branch_id": 2,
- "date": "2022-06-03 11:01:01",
- "number": "DO22060007",
- "edited_number": null,
- "edited_notes": null,
- "notes": null,
- "created_by": 1,
- "updated_by": 1,
- "done": true,
- "increment": 7,
- "increment_group": 202206,
- "formable_id": 59,
- "formable_type": "SalesDeliveryOrder",
- "request_approval_to": 1,
- "approval_by": 1,
- "approval_at": "2022-06-04 00:30:50",
- "approval_reason": null,
- "approval_status": 1,
- "request_cancellation_to": null,
- "request_cancellation_by": null,
- "request_cancellation_at": null,
- "request_cancellation_reason": null,
- "cancellation_approval_at": null,
- "cancellation_approval_by": null,
- "cancellation_approval_reason": null,
- "cancellation_status": null,
- "created_at": "2022-06-03 11:01:27",
- "updated_at": "2022-06-07 22:24:46",
- "request_approval_at": "2022-06-03 11:01:01",
- "request_close_to": 1,
- "request_close_by": 1,
- "request_close_at": "2022-06-07 15:22:38",
- "request_close_reason": "close reason",
- "close_approval_at": "2022-06-07T15:24:46.597529Z",
- "close_approval_by": 1,
- "close_approval_reason": null,
- "close_status": true
}, - "sales_order": {
- "id": 23,
- "sales_quotation_id": null,
- "sales_contract_id": null,
- "customer_id": 11,
- "customer_name": "AINI",
- "customer_address": null,
- "customer_phone": null,
- "billing_address": null,
- "billing_phone": null,
- "billing_email": null,
- "shipping_address": null,
- "shipping_phone": null,
- "shipping_email": null,
- "warehouse_id": null,
- "eta": "-0001-11-30 06:42:04",
- "cash_only": 0,
- "need_down_payment": 0,
- "delivery_fee": 0,
- "discount_percent": 0,
- "discount_value": 0,
- "type_of_tax": "exclude",
- "tax": 30000,
- "amount": 330000,
- "created_at": "2022-06-07 22:24:46",
- "updated_at": "2022-06-07 22:24:46",
- "form": {
- "id": 70,
- "branch_id": 2,
- "date": "2022-05-27 10:35:01",
- "number": "SO22050020",
- "edited_number": null,
- "edited_notes": null,
- "notes": null,
- "created_by": 1,
- "updated_by": 1,
- "done": true,
- "increment": 20,
- "increment_group": 202205,
- "formable_id": 23,
- "formable_type": "SalesOrder",
- "request_approval_to": 1,
- "approval_by": 1,
- "approval_at": "2022-05-27 03:35:58",
- "approval_reason": null,
- "approval_status": 1,
- "request_cancellation_to": null,
- "request_cancellation_by": null,
- "request_cancellation_at": null,
- "request_cancellation_reason": null,
- "cancellation_approval_at": null,
- "cancellation_approval_by": null,
- "cancellation_approval_reason": null,
- "cancellation_status": null,
- "created_at": "2022-05-27 10:35:42",
- "updated_at": "2022-06-07 22:24:46",
- "request_approval_at": null,
- "request_close_to": null,
- "request_close_by": null,
- "request_close_at": null,
- "request_close_reason": null,
- "close_approval_at": null,
- "close_approval_by": null,
- "close_approval_reason": null,
- "close_status": null
}
}
}| id required | string Example: 57 |
| id required | string |
{- "id": 57,
- "reason": "close reject reason"
}{- "id": 57,
- "customer_id": 12,
- "warehouse_id": 2,
- "sales_order_id": 25,
- "customer_name": "PINNAPLE",
- "customer_address": null,
- "customer_phone": null,
- "billing_address": null,
- "billing_phone": null,
- "billing_email": null,
- "shipping_address": null,
- "shipping_phone": null,
- "shipping_email": null,
- "form": {
- "id": 101,
- "branch_id": 2,
- "date": "2022-06-03 10:42:48",
- "number": "DO22060005",
- "edited_number": null,
- "edited_notes": null,
- "notes": null,
- "created_by": 1,
- "updated_by": 1,
- "done": 0,
- "increment": 5,
- "increment_group": 202206,
- "formable_id": 57,
- "formable_type": "SalesDeliveryOrder",
- "request_approval_to": 1,
- "approval_by": 1,
- "approval_at": "2022-06-03 03:44:08",
- "approval_reason": null,
- "approval_status": 1,
- "request_cancellation_to": null,
- "request_cancellation_by": null,
- "request_cancellation_at": null,
- "request_cancellation_reason": null,
- "cancellation_approval_at": null,
- "cancellation_approval_by": null,
- "cancellation_approval_reason": null,
- "cancellation_status": null,
- "created_at": "2022-06-03 10:44:04",
- "updated_at": "2022-06-07 22:28:23",
- "request_approval_at": "2022-06-03 10:42:48",
- "request_close_to": 1,
- "request_close_by": 1,
- "request_close_at": "2022-06-07 15:28:09",
- "request_close_reason": "close reason",
- "close_approval_at": "2022-06-07T15:28:23.179728Z",
- "close_approval_by": 1,
- "close_approval_reason": "close reject reason",
- "close_status": -1
}
}| join | string Example: join=form,customer,items,item |
| fields | string Example: fields=sales_delivery_order.* |
| sort_by | string Example: sort_by=-form.number |
| group_by | string Example: group_by=form.id |
| filter_form | string Example: filter_form=notArchived;null |
| filter_like | string Example: filter_like={} |
| filter_date_min | string Example: filter_date_min={"form.date":"2022-05-01 00:00:00"} |
| filter_date_max | string Example: filter_date_max={"form.date":"2022-06-08 23:59:59"} |
| limit | integer Example: limit=10 |
| includes | string Example: includes=form;customer;warehouse;items.item;items.allocation |
| page | integer Example: page=1 |
{- "data": [
- {
- "id": 66,
- "billing_address": null,
- "billing_email": null,
- "billing_phone": null,
- "customer": {
- "address": "customer addresss",
- "archived_at": null,
- "archived_by": null,
- "branch_id": 1,
- "city": null,
- "code": "Cust 001",
- "country": null,
- "created_at": "2022-07-17 21:42:31",
- "created_by": 1,
- "credit_limit": 0,
- "email": "cust@email.com",
- "id": 1,
- "label": "[Cust 001] Customer 001",
- "latitude": null,
- "longitude": null,
- "name": "Customer 001",
- "notes": null,
- "phone": "0811112223333",
- "phone_cc": null,
- "pricing_group_id": 1,
- "state": null,
- "tax_identification_number": null,
- "updated_at": "2022-07-17 21:42:31",
- "updated_by": 1,
- "zip_code": null
}, - "customer_address": null,
- "customer_id": 1,
- "customer_name": "Customer 001",
- "customer_phone": null,
- "delivery_order_id": 2,
- "driver": "asdad",
- "license_plate": "asdasd",
- "form": {
- "approval_at": null,
- "approval_by": null,
- "approval_reason": null,
- "approval_status": 0,
- "branch_id": 2,
- "cancellation_approval_at": null,
- "cancellation_approval_by": null,
- "cancellation_approval_reason": null,
- "cancellation_status": null,
- "close_approval_at": null,
- "close_approval_by": null,
- "close_approval_reason": null,
- "close_status": null,
- "created_at": "2022-07-26 07:06:51",
- "created_by": 1,
- "date": "2022-07-26 07:06:22",
- "done": 0,
- "edited_notes": null,
- "edited_number": null,
- "formable_id": 3,
- "formable_type": "SalesDeliveryNote",
- "id": 13,
- "increment": 3,
- "increment_group": 202207,
- "notes": null,
- "number": "DN22070003",
- "request_approval_at": null,
- "request_approval_to": 1,
- "request_cancellation_at": null,
- "request_cancellation_by": null,
- "request_cancellation_reason": null,
- "request_cancellation_to": null,
- "request_close_at": null,
- "request_close_by": null,
- "request_close_reason": null,
- "request_close_to": null,
- "updated_at": "2022-07-26 07:06:51",
- "updated_by": 1
}, - "items": [
- {
- "allocation": null,
- "allocation_id": null,
- "converter": 1,
- "delivery_note_id": 3,
- "delivery_order_item_id": 3,
- "discount_percent": 0,
- "discount_value": 0,
- "expiry_date": "2022-07-17 00:00:00",
- "gross_weight": null,
- "id": 5,
- "item": {
- "archived_at": null,
- "archived_by": null,
- "barcode": null,
- "chart_of_account_id": 14,
- "code": "Kopi01",
- "color": null,
- "created_at": "2022-07-17 21:46:57",
- "created_by": 1,
- "id": 1,
- "label": "[Kopi01] Kopi ABC",
- "name": "Kopi ABC",
- "notes": null,
- "require_expiry_date": 1,
- "require_production_number": 1,
- "size": null,
- "stock": 174,
- "stock_reminder": 0,
- "taxable": 1,
- "unit_default": 1,
- "unit_default_purchase": 1,
- "unit_default_sales": 1,
- "updated_at": "2022-07-26 07:06:51",
- "updated_by": 1,
- "weight": null
}, - "item_id": 1,
- "item_name": "Kopi ABC",
- "net_weight": null,
- "notes": null,
- "price": 1100,
- "production_number": "K0117",
- "quantity": 3,
- "quantity_remaining": 7,
- "tare_weight": null,
- "taxable": 1,
- "unit": "PCS"
}
], - "shipping_address": null,
- "shipping_email": null,
- "shipping_phone": null,
- "warehouse": {
- "address": "Local House Address",
- "archived_at": null,
- "archived_by": null,
- "branch_id": 2,
- "code": null,
- "created_at": "2022-07-17 21:44:57",
- "created_by": 1,
- "id": 2,
- "label": "Local House",
- "name": "Local House",
- "notes": null,
- "phone": "08129871235",
- "updated_at": "2022-07-17 21:44:57",
- "updated_by": 1
}, - "warehouse_id": 2
}
], - "links": {
- "prev": null,
}, - "meta": {
- "current_page": 1,
- "from": 1,
- "last_page": 4,
- "per_page": "10",
- "to": 10,
- "total": 36
}
}object | |
| cash_only | integer |
| customer_address | string |
| customer_email | string |
| customer_id required | integer |
| customer_label | string |
| customer_name | string |
| customer_phone | string |
| date | string |
| delivery_order_item_id | integer |
| discount_percent | string |
| discount_value | string |
| driver | string |
| license_plate | string |
| increment_group | string |
| items required | object |
| need_down_payment | integer |
| notes | string |
| pricing_group_id | integer |
| tax | integer |
| tax_base | integer |
| type_of_tax | string |
| warehouse_id required | integer |
| warehouse_name | string |
object |
{- "originalData": {
- "approver_email": null,
- "approver_name": null,
- "cash_only": false,
- "customer_address": null,
- "customer_email": null,
- "customer_id": null,
- "customer_label": null,
- "customer_name": null,
- "customer_phone": null,
- "date": "2022-07-26 07:06:22",
- "delivery_order_id": null,
- "discount_percent": 0,
- "discount_value": 0,
- "driver": null,
- "increment_group": "202207",
- "items": [ ],
- "license_plate": null,
- "need_down_payment": 0,
- "notes": null,
- "pricing_group_id": 1,
- "request_approval_to": null,
- "tax": 0,
- "tax_base": 0,
- "type_of_tax": "exclude",
- "warehouse_id": null,
- "warehouse_name": null
}, - "cash_only": false,
- "customer_address": null,
- "customer_email": null,
- "customer_id": 1,
- "customer_label": "[Cust 001] Customer 001",
- "customer_name": "Customer 001",
- "customer_phone": null,
- "date": "2022-07-26 07:06:22",
- "delivery_order_id": 2,
- "discount_percent": 0,
- "discount_value": 0,
- "driver": "asdad",
- "license_plate": "asdasd",
- "increment_group": "202207",
- "need_down_payment": 0,
- "notes": null,
- "pricing_group_id": 1,
- "request_approval_to": 1,
- "type_of_tax": "exclude",
- "warehouse_id": 2,
- "warehouse_name": "Local House",
- "items": [
- {
- "allocation_id": null,
- "converter": 1,
- "delivery_order_item_id": 3,
- "discount_percent": 0,
- "discount_value": 0,
- "dna": [
- {
- "converter_reference": "1.000000000000000000000000000000",
- "created_at": "2022-07-18 07:02:14",
- "expiry_date": "2022-07-17 00:00:00",
- "form_id": 9,
- "id": 25,
- "is_posted": 0,
- "item_id": 1,
- "need_recalculate": 0,
- "production_number": "K0117",
- "quantity": "3",
- "quantity_reference": "50.000000000000000000000000000000",
- "remaining": 27,
- "remainingInUnit": 27,
- "unitRemaining": 24,
- "unit_reference": "PCS",
- "updated_at": "2022-07-18 07:02:14",
- "warehouse_id": 2
}
], - "item": [
- {
- "archived_at": null,
- "archived_by": null,
- "barcode": null,
- "chart_of_account_id": 14,
- "code": "Kopi01",
- "color": null,
- "created_at": "2022-07-17 21:46:57",
- "created_by": 1,
- "id": 1,
- "label": "[Kopi01] Kopi ABC",
- "name": "Kopi ABC",
- "notes": null,
- "require_expiry_date": 1,
- "require_production_number": 1,
- "size": null,
- "stock": 177,
- "stock_reminder": 0,
- "taxable": 1,
- "unit": [
- {
- "converter": 1,
- "created_at": "2022-07-17 21:46:58",
- "created_by": 1,
- "disabled": 0,
- "id": 1,
- "item_id": 1,
- "label": "PCS",
- "name": "PCS",
- "updated_at": "2022-07-17 21:46:58",
- "updated_by": 1
}
], - "unit_default": 1,
- "unit_default_purchase": 1,
- "unit_default_sales": 1,
- "units": [
- {
- "converter": 1,
- "created_at": "2022-07-17 21:46:58",
- "created_by": 1,
- "disabled": 0,
- "id": 1,
- "item_id": 1,
- "label": "PCS",
- "name": "PCS",
- "updated_at": "2022-07-17 21:46:58",
- "updated_by": 1
}
], - "updated_at": "2022-07-25 14:17:23",
- "updated_by": 1,
- "weight": null
}
], - "item_id": 1,
- "item_label": "Kopi ABC",
- "item_name": "Kopi ABC",
- "max_input": 10,
- "more": false,
- "notes": null,
- "price": 1100,
- "quantity": "3",
- "quantity_remaining": 7,
- "quantity_requested": 10,
- "require_expiry_date": 1,
- "require_production_number": 1,
- "total": null,
- "unit": "PCS",
- "warehouse_id": 2
}
], - "errors": {
- "errors": { }
}
}{- "data": {
- "billing_address": null,
- "billing_email": null,
- "billing_phone": null,
- "customer": {
- "address": "customer addresss",
- "archived_at": null,
- "archived_by": null,
- "branch_id": 1,
- "city": null,
- "code": "Cust 001",
- "country": null,
- "created_at": "2022-07-17 21:42:31",
- "created_by": 1,
- "credit_limit": 0,
- "email": "cust@email.com",
- "id": 1,
- "label": "[Cust 001] Customer 001",
- "latitude": null,
- "longitude": null,
- "name": "Customer 001",
- "notes": null,
- "phone": "0811112223333",
- "phone_cc": null,
- "pricing_group_id": 1,
- "state": null,
- "tax_identification_number": null,
- "updated_at": "2022-07-17 21:42:31",
- "updated_by": 1,
- "zip_code": null
}, - "customer_address": null,
- "customer_id": 1,
- "customer_name": "Customer 001",
- "customer_phone": null,
- "delivery_order_id": 2,
- "driver": "asdad",
- "form": {
- "approval_at": null,
- "approval_by": null,
- "approval_reason": null,
- "approval_status": 0,
- "branch_id": 2,
- "cancellation_approval_at": null,
- "cancellation_approval_by": null,
- "cancellation_approval_reason": null,
- "cancellation_status": null,
- "close_approval_at": null,
- "close_approval_by": null,
- "close_approval_reason": null,
- "close_status": null,
- "created_at": "2022-07-26 07:06:51",
- "created_by": 1,
- "date": "2022-07-26 07:06:22",
- "done": 0,
- "edited_notes": null,
- "edited_number": null,
- "formable_id": 3,
- "formable_type": "SalesDeliveryNote",
- "id": 13,
- "increment": 3,
- "increment_group": 202207,
- "notes": null,
- "number": "DN22070003",
- "request_approval_at": null,
- "request_approval_to": 1,
- "request_cancellation_at": null,
- "request_cancellation_by": null,
- "request_cancellation_reason": null,
- "request_cancellation_to": null,
- "request_close_at": null,
- "request_close_by": null,
- "request_close_reason": null,
- "request_close_to": null,
- "updated_at": "2022-07-26 07:06:51",
- "updated_by": 1
}, - "id": 3,
- "items": [
- {
- "allocation": null,
- "allocation_id": null,
- "converter": 1,
- "delivery_note_id": 3,
- "delivery_order_item_id": 3,
- "discount_percent": 0,
- "discount_value": 0,
- "expiry_date": "2022-07-17 00:00:00",
- "gross_weight": null,
- "id": 5,
- "item_id": 1,
- "item_name": "Kopi ABC",
- "net_weight": null,
- "notes": null,
- "price": 1100,
- "production_number": "K0117",
- "quantity": 3,
- "quantity_remaining": 7,
- "tare_weight": null,
- "taxable": 1,
- "unit": "PCS"
}
], - "license_plate": "asdasd",
- "shipping_address": null,
- "shipping_email": null,
- "shipping_phone": null,
- "warehouse": {
- "address": "Local House Address",
- "archived_at": null,
- "archived_by": null,
- "branch_id": 2,
- "code": null,
- "created_at": "2022-07-17 21:44:57",
- "created_by": 1,
- "id": 2,
- "label": "Local House",
- "name": "Local House",
- "notes": null,
- "phone": "08129871235",
- "updated_at": "2022-07-17 21:44:57",
- "updated_by": 1
}, - "warehouse_id": 2
}
}| id required | any delivery note id |
| with_archives | boolean Example: with_archives=true |
| with_origin | boolean Example: with_origin=true |
| includes | string Example: includes=customer;warehouse;items.item;items.allocation;form.createdBy;form.requestApprovalTo;form.branch |
{- "data": {
- "billing_address": null,
- "billing_email": null,
- "billing_phone": null,
- "customer": {
- "address": "customer addresss",
- "archived_at": null,
- "archived_by": null,
- "branch_id": 1,
- "city": null,
- "code": "Cust 001",
- "country": null,
- "created_at": "2022-07-17 21:42:31",
- "created_by": 1,
- "credit_limit": 0,
- "email": "cust@email.com",
- "id": 1,
- "label": "[Cust 001] Customer 001",
- "latitude": null,
- "longitude": null,
- "name": "Customer 001",
- "notes": null,
- "phone": "0811112223333",
- "phone_cc": null,
- "pricing_group_id": 1,
- "state": null,
- "tax_identification_number": null,
- "updated_at": "2022-07-17 21:42:31",
- "updated_by": 1,
- "zip_code": null
}, - "customer_address": null,
- "customer_id": 1,
- "customer_name": "Customer 001",
- "customer_phone": null,
- "delivery_order_id": 2,
- "driver": "asdad",
- "form": {
- "approval_at": null,
- "approval_by": null,
- "approval_reason": null,
- "approval_status": 0,
- "branch_id": 2,
- "cancellation_approval_at": null,
- "cancellation_approval_by": null,
- "cancellation_approval_reason": null,
- "cancellation_status": null,
- "close_approval_at": null,
- "close_approval_by": null,
- "close_approval_reason": null,
- "close_status": null,
- "created_at": "2022-07-26 07:06:51",
- "created_by": 1,
- "date": "2022-07-26 07:06:22",
- "done": 0,
- "edited_notes": null,
- "edited_number": null,
- "formable_id": 3,
- "formable_type": "SalesDeliveryNote",
- "id": 13,
- "increment": 3,
- "increment_group": 202207,
- "notes": null,
- "number": "DN22070003",
- "request_approval_at": null,
- "request_approval_to": 1,
- "request_cancellation_at": null,
- "request_cancellation_by": null,
- "request_cancellation_reason": null,
- "request_cancellation_to": null,
- "request_close_at": null,
- "request_close_by": null,
- "request_close_reason": null,
- "request_close_to": null,
- "updated_at": "2022-07-26 07:06:51",
- "updated_by": 1
}, - "id": 3,
- "items": [
- {
- "allocation": null,
- "allocation_id": null,
- "converter": 1,
- "delivery_note_id": 3,
- "delivery_order_item_id": 3,
- "discount_percent": 0,
- "discount_value": 0,
- "expiry_date": "2022-07-17 00:00:00",
- "gross_weight": null,
- "id": 5,
- "item_id": 1,
- "item_name": "Kopi ABC",
- "net_weight": null,
- "notes": null,
- "price": 1100,
- "production_number": "K0117",
- "quantity": 3,
- "quantity_remaining": 7,
- "tare_weight": null,
- "taxable": 1,
- "unit": "PCS"
}
], - "license_plate": "asdasd",
- "shipping_address": null,
- "shipping_email": null,
- "shipping_phone": null,
- "warehouse": {
- "address": "Local House Address",
- "archived_at": null,
- "archived_by": null,
- "branch_id": 2,
- "code": null,
- "created_at": "2022-07-17 21:44:57",
- "created_by": 1,
- "id": 2,
- "label": "Local House",
- "name": "Local House",
- "notes": null,
- "phone": "08129871235",
- "updated_at": "2022-07-17 21:44:57",
- "updated_by": 1
}, - "warehouse_id": 2
}
}| id required | string Example: 59 |
object | |
| cash_only | integer |
| customer_address | string |
| customer_email | string |
| customer_id required | integer |
| customer_label | string |
| customer_name | string |
| customer_phone | string |
| date | string |
| delivery_order_item_id | integer |
| discount_percent | string |
| discount_value | string |
| driver | string |
| license_plate | string |
| increment_group | string |
| items required | object |
| need_down_payment | integer |
| notes | string |
| pricing_group_id | integer |
| tax | integer |
| tax_base | integer |
| type_of_tax | string |
| warehouse_id required | integer |
| warehouse_name | string |
{- "originalData": {
- "approver_email": null,
- "approver_name": null,
- "cash_only": false,
- "customer_address": null,
- "customer_email": null,
- "customer_id": null,
- "customer_label": null,
- "customer_name": null,
- "customer_phone": null,
- "date": "2022-07-26 07:06:22",
- "delivery_order_id": null,
- "discount_percent": 0,
- "discount_value": 0,
- "driver": null,
- "increment_group": "202207",
- "items": [ ],
- "license_plate": null,
- "need_down_payment": 0,
- "notes": null,
- "pricing_group_id": 1,
- "request_approval_to": null,
- "tax": 0,
- "tax_base": 0,
- "type_of_tax": "exclude",
- "warehouse_id": null,
- "warehouse_name": null
}, - "cash_only": false,
- "customer_address": null,
- "customer_email": null,
- "customer_id": 1,
- "customer_label": "[Cust 001] Customer 001",
- "customer_name": "Customer 001",
- "customer_phone": null,
- "date": "2022-07-26 07:06:22",
- "delivery_order_id": 2,
- "discount_percent": 0,
- "discount_value": 0,
- "driver": "asdad",
- "license_plate": "asdasd",
- "increment_group": "202207",
- "need_down_payment": 0,
- "notes": null,
- "pricing_group_id": 1,
- "request_approval_to": 1,
- "type_of_tax": "exclude",
- "warehouse_id": 2,
- "warehouse_name": "Local House",
- "items": [
- {
- "allocation_id": null,
- "converter": 1,
- "delivery_order_item_id": 3,
- "discount_percent": 0,
- "discount_value": 0,
- "dna": [
- {
- "converter_reference": "1.000000000000000000000000000000",
- "created_at": "2022-07-18 07:02:14",
- "expiry_date": "2022-07-17 00:00:00",
- "form_id": 9,
- "id": 25,
- "is_posted": 0,
- "item_id": 1,
- "need_recalculate": 0,
- "production_number": "K0117",
- "quantity": "3",
- "quantity_reference": "50.000000000000000000000000000000",
- "remaining": 27,
- "remainingInUnit": 27,
- "unitRemaining": 24,
- "unit_reference": "PCS",
- "updated_at": "2022-07-18 07:02:14",
- "warehouse_id": 2
}
], - "item": [
- {
- "archived_at": null,
- "archived_by": null,
- "barcode": null,
- "chart_of_account_id": 14,
- "code": "Kopi01",
- "color": null,
- "created_at": "2022-07-17 21:46:57",
- "created_by": 1,
- "id": 1,
- "label": "[Kopi01] Kopi ABC",
- "name": "Kopi ABC",
- "notes": null,
- "require_expiry_date": 1,
- "require_production_number": 1,
- "size": null,
- "stock": 177,
- "stock_reminder": 0,
- "taxable": 1,
- "unit": [
- {
- "converter": 1,
- "created_at": "2022-07-17 21:46:58",
- "created_by": 1,
- "disabled": 0,
- "id": 1,
- "item_id": 1,
- "label": "PCS",
- "name": "PCS",
- "updated_at": "2022-07-17 21:46:58",
- "updated_by": 1
}
], - "unit_default": 1,
- "unit_default_purchase": 1,
- "unit_default_sales": 1,
- "units": [
- {
- "converter": 1,
- "created_at": "2022-07-17 21:46:58",
- "created_by": 1,
- "disabled": 0,
- "id": 1,
- "item_id": 1,
- "label": "PCS",
- "name": "PCS",
- "updated_at": "2022-07-17 21:46:58",
- "updated_by": 1
}
], - "updated_at": "2022-07-25 14:17:23",
- "updated_by": 1,
- "weight": null
}
], - "item_id": 1,
- "item_label": "Kopi ABC",
- "item_name": "Kopi ABC",
- "max_input": 10,
- "more": false,
- "notes": null,
- "price": 1100,
- "quantity": "3",
- "quantity_remaining": 7,
- "quantity_requested": 10,
- "require_expiry_date": 1,
- "require_production_number": 1,
- "total": null,
- "unit": "PCS",
- "warehouse_id": 2
}
]
}{- "data": {
- "billing_address": null,
- "billing_email": null,
- "billing_phone": null,
- "customer": {
- "address": "customer addresss",
- "archived_at": null,
- "archived_by": null,
- "branch_id": 1,
- "city": null,
- "code": "Cust 001",
- "country": null,
- "created_at": "2022-07-17 21:42:31",
- "created_by": 1,
- "credit_limit": 0,
- "email": "cust@email.com",
- "id": 1,
- "label": "[Cust 001] Customer 001",
- "latitude": null,
- "longitude": null,
- "name": "Customer 001",
- "notes": null,
- "phone": "0811112223333",
- "phone_cc": null,
- "pricing_group_id": 1,
- "state": null,
- "tax_identification_number": null,
- "updated_at": "2022-07-17 21:42:31",
- "updated_by": 1,
- "zip_code": null
}, - "customer_address": null,
- "customer_id": 1,
- "customer_name": "Customer 001",
- "customer_phone": null,
- "delivery_order_id": 2,
- "driver": "asdad",
- "form": {
- "approval_at": null,
- "approval_by": null,
- "approval_reason": null,
- "approval_status": 0,
- "branch_id": 2,
- "cancellation_approval_at": null,
- "cancellation_approval_by": null,
- "cancellation_approval_reason": null,
- "cancellation_status": null,
- "close_approval_at": null,
- "close_approval_by": null,
- "close_approval_reason": null,
- "close_status": null,
- "created_at": "2022-07-26 07:06:51",
- "created_by": 1,
- "date": "2022-07-26 07:06:22",
- "done": 0,
- "edited_notes": null,
- "edited_number": null,
- "formable_id": 3,
- "formable_type": "SalesDeliveryNote",
- "id": 13,
- "increment": 3,
- "increment_group": 202207,
- "notes": null,
- "number": "DN22070003",
- "request_approval_at": null,
- "request_approval_to": 1,
- "request_cancellation_at": null,
- "request_cancellation_by": null,
- "request_cancellation_reason": null,
- "request_cancellation_to": null,
- "request_close_at": null,
- "request_close_by": null,
- "request_close_reason": null,
- "request_close_to": null,
- "updated_at": "2022-07-26 07:06:51",
- "updated_by": 1
}, - "id": 3,
- "items": [
- {
- "allocation": null,
- "allocation_id": null,
- "converter": 1,
- "delivery_note_id": 3,
- "delivery_order_item_id": 3,
- "discount_percent": 0,
- "discount_value": 0,
- "expiry_date": "2022-07-17 00:00:00",
- "gross_weight": null,
- "id": 5,
- "item_id": 1,
- "item_name": "Kopi ABC",
- "net_weight": null,
- "notes": null,
- "price": 1100,
- "production_number": "K0117",
- "quantity": 3,
- "quantity_remaining": 7,
- "tare_weight": null,
- "taxable": 1,
- "unit": "PCS"
}
], - "license_plate": "asdasd",
- "shipping_address": null,
- "shipping_email": null,
- "shipping_phone": null,
- "warehouse": {
- "address": "Local House Address",
- "archived_at": null,
- "archived_by": null,
- "branch_id": 2,
- "code": null,
- "created_at": "2022-07-17 21:44:57",
- "created_by": 1,
- "id": 2,
- "label": "Local House",
- "name": "Local House",
- "notes": null,
- "phone": "08129871235",
- "updated_at": "2022-07-17 21:44:57",
- "updated_by": 1
}, - "warehouse_id": 2
}
}{- "data": {
- "billing_address": null,
- "billing_email": null,
- "billing_phone": null,
- "customer": {
- "address": "customer addresss",
- "archived_at": null,
- "archived_by": null,
- "branch_id": 1,
- "city": null,
- "code": "Cust 001",
- "country": null,
- "created_at": "2022-07-17 21:42:31",
- "created_by": 1,
- "credit_limit": 0,
- "email": "cust@email.com",
- "id": 1,
- "label": "[Cust 001] Customer 001",
- "latitude": null,
- "longitude": null,
- "name": "Customer 001",
- "notes": null,
- "phone": "0811112223333",
- "phone_cc": null,
- "pricing_group_id": 1,
- "state": null,
- "tax_identification_number": null,
- "updated_at": "2022-07-17 21:42:31",
- "updated_by": 1,
- "zip_code": null
}, - "customer_address": null,
- "customer_id": 1,
- "customer_name": "Customer 001",
- "customer_phone": null,
- "delivery_order_id": 2,
- "driver": "asdad",
- "form": {
- "approval_at": null,
- "approval_by": null,
- "approval_reason": null,
- "approval_status": 0,
- "branch_id": 2,
- "cancellation_approval_at": null,
- "cancellation_approval_by": null,
- "cancellation_approval_reason": null,
- "cancellation_status": null,
- "close_approval_at": null,
- "close_approval_by": null,
- "close_approval_reason": null,
- "close_status": null,
- "created_at": "2022-07-26 07:06:51",
- "created_by": 1,
- "date": "2022-07-26 07:06:22",
- "done": 0,
- "edited_notes": null,
- "edited_number": null,
- "formable_id": 3,
- "formable_type": "SalesDeliveryNote",
- "id": 13,
- "increment": 3,
- "increment_group": 202207,
- "notes": null,
- "number": "DN22070003",
- "request_approval_at": null,
- "request_approval_to": 1,
- "request_cancellation_at": null,
- "request_cancellation_by": null,
- "request_cancellation_reason": null,
- "request_cancellation_to": null,
- "request_close_at": null,
- "request_close_by": null,
- "request_close_reason": null,
- "request_close_to": null,
- "updated_at": "2022-07-26 07:06:51",
- "updated_by": 1
}, - "id": 3,
- "items": [
- {
- "allocation": null,
- "allocation_id": null,
- "converter": 1,
- "delivery_note_id": 3,
- "delivery_order_item_id": 3,
- "discount_percent": 0,
- "discount_value": 0,
- "expiry_date": "2022-07-17 00:00:00",
- "gross_weight": null,
- "id": 5,
- "item_id": 1,
- "item_name": "Kopi ABC",
- "net_weight": null,
- "notes": null,
- "price": 1100,
- "production_number": "K0117",
- "quantity": 3,
- "quantity_remaining": 7,
- "tare_weight": null,
- "taxable": 1,
- "unit": "PCS"
}
], - "license_plate": "asdasd",
- "shipping_address": null,
- "shipping_email": null,
- "shipping_phone": null,
- "warehouse": {
- "address": "Local House Address",
- "archived_at": null,
- "archived_by": null,
- "branch_id": 2,
- "code": null,
- "created_at": "2022-07-17 21:44:57",
- "created_by": 1,
- "id": 2,
- "label": "Local House",
- "name": "Local House",
- "notes": null,
- "phone": "08129871235",
- "updated_at": "2022-07-17 21:44:57",
- "updated_by": 1
}, - "warehouse_id": 2
}
}| id required | string Example: 69 |
| reason required | string |
{- "reason": "reason delivery note rejected"
}{- "data": {
- "billing_address": null,
- "billing_email": null,
- "billing_phone": null,
- "customer": {
- "address": "customer addresss",
- "archived_at": null,
- "archived_by": null,
- "branch_id": 1,
- "city": null,
- "code": "Cust 001",
- "country": null,
- "created_at": "2022-07-17 21:42:31",
- "created_by": 1,
- "credit_limit": 0,
- "email": "cust@email.com",
- "id": 1,
- "label": "[Cust 001] Customer 001",
- "latitude": null,
- "longitude": null,
- "name": "Customer 001",
- "notes": null,
- "phone": "0811112223333",
- "phone_cc": null,
- "pricing_group_id": 1,
- "state": null,
- "tax_identification_number": null,
- "updated_at": "2022-07-17 21:42:31",
- "updated_by": 1,
- "zip_code": null
}, - "customer_address": null,
- "customer_id": 1,
- "customer_name": "Customer 001",
- "customer_phone": null,
- "delivery_order_id": 2,
- "driver": "asdad",
- "form": {
- "approval_at": null,
- "approval_by": null,
- "approval_reason": null,
- "approval_status": 0,
- "branch_id": 2,
- "cancellation_approval_at": null,
- "cancellation_approval_by": null,
- "cancellation_approval_reason": null,
- "cancellation_status": null,
- "close_approval_at": null,
- "close_approval_by": null,
- "close_approval_reason": null,
- "close_status": null,
- "created_at": "2022-07-26 07:06:51",
- "created_by": 1,
- "date": "2022-07-26 07:06:22",
- "done": 0,
- "edited_notes": null,
- "edited_number": null,
- "formable_id": 3,
- "formable_type": "SalesDeliveryNote",
- "id": 13,
- "increment": 3,
- "increment_group": 202207,
- "notes": null,
- "number": "DN22070003",
- "request_approval_at": null,
- "request_approval_to": 1,
- "request_cancellation_at": null,
- "request_cancellation_by": null,
- "request_cancellation_reason": null,
- "request_cancellation_to": null,
- "request_close_at": null,
- "request_close_by": null,
- "request_close_reason": null,
- "request_close_to": null,
- "updated_at": "2022-07-26 07:06:51",
- "updated_by": 1
}, - "id": 3,
- "items": [
- {
- "allocation": null,
- "allocation_id": null,
- "converter": 1,
- "delivery_note_id": 3,
- "delivery_order_item_id": 3,
- "discount_percent": 0,
- "discount_value": 0,
- "expiry_date": "2022-07-17 00:00:00",
- "gross_weight": null,
- "id": 5,
- "item_id": 1,
- "item_name": "Kopi ABC",
- "net_weight": null,
- "notes": null,
- "price": 1100,
- "production_number": "K0117",
- "quantity": 3,
- "quantity_remaining": 7,
- "tare_weight": null,
- "taxable": 1,
- "unit": "PCS"
}
], - "license_plate": "asdasd",
- "shipping_address": null,
- "shipping_email": null,
- "shipping_phone": null,
- "warehouse": {
- "address": "Local House Address",
- "archived_at": null,
- "archived_by": null,
- "branch_id": 2,
- "code": null,
- "created_at": "2022-07-17 21:44:57",
- "created_by": 1,
- "id": 2,
- "label": "Local House",
- "name": "Local House",
- "notes": null,
- "phone": "08129871235",
- "updated_at": "2022-07-17 21:44:57",
- "updated_by": 1
}, - "warehouse_id": 2
}
}{- "data": {
- "billing_address": null,
- "billing_email": null,
- "billing_phone": null,
- "customer": {
- "address": "customer addresss",
- "archived_at": null,
- "archived_by": null,
- "branch_id": 1,
- "city": null,
- "code": "Cust 001",
- "country": null,
- "created_at": "2022-07-17 21:42:31",
- "created_by": 1,
- "credit_limit": 0,
- "email": "cust@email.com",
- "id": 1,
- "label": "[Cust 001] Customer 001",
- "latitude": null,
- "longitude": null,
- "name": "Customer 001",
- "notes": null,
- "phone": "0811112223333",
- "phone_cc": null,
- "pricing_group_id": 1,
- "state": null,
- "tax_identification_number": null,
- "updated_at": "2022-07-17 21:42:31",
- "updated_by": 1,
- "zip_code": null
}, - "customer_address": null,
- "customer_id": 1,
- "customer_name": "Customer 001",
- "customer_phone": null,
- "delivery_order_id": 2,
- "driver": "asdad",
- "form": {
- "approval_at": null,
- "approval_by": null,
- "approval_reason": null,
- "approval_status": 0,
- "branch_id": 2,
- "cancellation_approval_at": null,
- "cancellation_approval_by": null,
- "cancellation_approval_reason": null,
- "cancellation_status": null,
- "close_approval_at": null,
- "close_approval_by": null,
- "close_approval_reason": null,
- "close_status": null,
- "created_at": "2022-07-26 07:06:51",
- "created_by": 1,
- "date": "2022-07-26 07:06:22",
- "done": 0,
- "edited_notes": null,
- "edited_number": null,
- "formable_id": 3,
- "formable_type": "SalesDeliveryNote",
- "id": 13,
- "increment": 3,
- "increment_group": 202207,
- "notes": null,
- "number": "DN22070003",
- "request_approval_at": null,
- "request_approval_to": 1,
- "request_cancellation_at": null,
- "request_cancellation_by": null,
- "request_cancellation_reason": null,
- "request_cancellation_to": null,
- "request_close_at": null,
- "request_close_by": null,
- "request_close_reason": null,
- "request_close_to": null,
- "updated_at": "2022-07-26 07:06:51",
- "updated_by": 1
}, - "id": 3,
- "items": [
- {
- "allocation": null,
- "allocation_id": null,
- "converter": 1,
- "delivery_note_id": 3,
- "delivery_order_item_id": 3,
- "discount_percent": 0,
- "discount_value": 0,
- "expiry_date": "2022-07-17 00:00:00",
- "gross_weight": null,
- "id": 5,
- "item_id": 1,
- "item_name": "Kopi ABC",
- "net_weight": null,
- "notes": null,
- "price": 1100,
- "production_number": "K0117",
- "quantity": 3,
- "quantity_remaining": 7,
- "tare_weight": null,
- "taxable": 1,
- "unit": "PCS"
}
], - "license_plate": "asdasd",
- "shipping_address": null,
- "shipping_email": null,
- "shipping_phone": null,
- "warehouse": {
- "address": "Local House Address",
- "archived_at": null,
- "archived_by": null,
- "branch_id": 2,
- "code": null,
- "created_at": "2022-07-17 21:44:57",
- "created_by": 1,
- "id": 2,
- "label": "Local House",
- "name": "Local House",
- "notes": null,
- "phone": "08129871235",
- "updated_at": "2022-07-17 21:44:57",
- "updated_by": 1
}, - "warehouse_id": 2
}
}| id required | string Example: 69 |
| reason required | string |
{- "reason": "cancellation reject reason"
}{- "data": {
- "billing_address": null,
- "billing_email": null,
- "billing_phone": null,
- "customer": {
- "address": "customer addresss",
- "archived_at": null,
- "archived_by": null,
- "branch_id": 1,
- "city": null,
- "code": "Cust 001",
- "country": null,
- "created_at": "2022-07-17 21:42:31",
- "created_by": 1,
- "credit_limit": 0,
- "email": "cust@email.com",
- "id": 1,
- "label": "[Cust 001] Customer 001",
- "latitude": null,
- "longitude": null,
- "name": "Customer 001",
- "notes": null,
- "phone": "0811112223333",
- "phone_cc": null,
- "pricing_group_id": 1,
- "state": null,
- "tax_identification_number": null,
- "updated_at": "2022-07-17 21:42:31",
- "updated_by": 1,
- "zip_code": null
}, - "customer_address": null,
- "customer_id": 1,
- "customer_name": "Customer 001",
- "customer_phone": null,
- "delivery_order_id": 2,
- "driver": "asdad",
- "form": {
- "approval_at": null,
- "approval_by": null,
- "approval_reason": null,
- "approval_status": 0,
- "branch_id": 2,
- "cancellation_approval_at": null,
- "cancellation_approval_by": null,
- "cancellation_approval_reason": null,
- "cancellation_status": null,
- "close_approval_at": null,
- "close_approval_by": null,
- "close_approval_reason": null,
- "close_status": null,
- "created_at": "2022-07-26 07:06:51",
- "created_by": 1,
- "date": "2022-07-26 07:06:22",
- "done": 0,
- "edited_notes": null,
- "edited_number": null,
- "formable_id": 3,
- "formable_type": "SalesDeliveryNote",
- "id": 13,
- "increment": 3,
- "increment_group": 202207,
- "notes": null,
- "number": "DN22070003",
- "request_approval_at": null,
- "request_approval_to": 1,
- "request_cancellation_at": null,
- "request_cancellation_by": null,
- "request_cancellation_reason": null,
- "request_cancellation_to": null,
- "request_close_at": null,
- "request_close_by": null,
- "request_close_reason": null,
- "request_close_to": null,
- "updated_at": "2022-07-26 07:06:51",
- "updated_by": 1
}, - "id": 3,
- "items": [
- {
- "allocation": null,
- "allocation_id": null,
- "converter": 1,
- "delivery_note_id": 3,
- "delivery_order_item_id": 3,
- "discount_percent": 0,
- "discount_value": 0,
- "expiry_date": "2022-07-17 00:00:00",
- "gross_weight": null,
- "id": 5,
- "item_id": 1,
- "item_name": "Kopi ABC",
- "net_weight": null,
- "notes": null,
- "price": 1100,
- "production_number": "K0117",
- "quantity": 3,
- "quantity_remaining": 7,
- "tare_weight": null,
- "taxable": 1,
- "unit": "PCS"
}
], - "license_plate": "asdasd",
- "shipping_address": null,
- "shipping_email": null,
- "shipping_phone": null,
- "warehouse": {
- "address": "Local House Address",
- "archived_at": null,
- "archived_by": null,
- "branch_id": 2,
- "code": null,
- "created_at": "2022-07-17 21:44:57",
- "created_by": 1,
- "id": 2,
- "label": "Local House",
- "name": "Local House",
- "notes": null,
- "phone": "08129871235",
- "updated_at": "2022-07-17 21:44:57",
- "updated_by": 1
}, - "warehouse_id": 2
}
}| id required | string Example: 66 |
| sort_by | string Example: sort_by=-user_activities.date |
| includes | string Example: includes=user |
| filter_like | string Example: filter_like={} |
| or_filter_where_has_like[] | string Example: or_filter_where_has_like[]={"user":{}} |
| limit | integer Example: limit=10 |
| page | integer Example: page=1 |
{- "data": [
- {
- "id": 253,
- "table_type": "forms",
- "table_id": 110,
- "number": "DN22060014",
- "date": "2022-06-04 12:56:55",
- "user_id": 1,
- "activity": "Created",
- "formable_id": 66,
- "user": {
- "id": 1,
- "name": "admin",
- "first_name": "admin",
- "last_name": "admin",
- "address": null,
- "phone": null,
- "email": "aininr13@gmail.com",
- "created_at": "2022-05-12 11:32:41",
- "updated_at": "2022-05-12 11:32:41",
- "branch_id": null,
- "warehouse_id": null,
- "full_name": "admin admin"
}
}
], - "links": {
- "prev": null,
- "next": null
}, - "meta": {
- "current_page": 1,
- "from": 1,
- "last_page": 1,
- "per_page": "10",
- "to": 2,
- "total": 2
}
}| id required | any |
| id required | integer |
| activity required | string |
{- "id": 66,
- "activity": "Printed"
}{- "data": {
- "table_type": "forms",
- "table_id": 110,
- "number": null,
- "date": "2022-06-07 22:33:04",
- "user_id": 2,
- "activity": "Printed",
- "id": 274
}
}| join | string Example: join= form,customer,items,item |
| fields | string Example: fields= sales_delivery_note.*;sales_delivery_note_item.* |
| sort_by | string Example: sort_by= -form.number |
| filter_form | string Example: filter_form= notArchived;null |
| filter_like | string Example: filter_like= {} |
| filter_date_min | string Example: filter_date_min= {"form.date":"2022-06-01 00:00:00"} |
| filter_date_max | string Example: filter_date_max= {"form.date":"2022-06-07 23:59:59"} |
| includes | string Example: includes= form;customer;warehouse;items.item |
{
}| join | string Example: join=form,items multi value, divide with coma (,) |
| fields | string Example: fields=memo_journal.* multi value, divide with coma (,) |
| sort_by | string Default: "name" Example: sort_by=-form.number Sort the result by a key |
| group_by | string Example: group_by=-form.id Group the result by a key |
object | |
object | |
object | |
| limit | integer Example: limit=10 Data limit |
| includes | string Example: includes=form;items.chart_of_account;items.form;items.masterable multi value, divide with coma (,) |
| page | integer Example: page=1 Data page |
{- "meta": {
- "current_page": 0,
- "from": 0,
- "last_page": 0,
- "path": "string",
- "per_page": 0,
- "to": 0,
- "total": 0
}, - "links": {
- "first": "string",
- "last": "string",
- "prev": "string",
- "next": "string"
}, - "data": [
- {
- "id": 0,
- "form": {
- "id": 0,
- "branch_id": 0,
- "date": null,
- "number": "string",
- "edited_number": "string",
- "edited_notes": "string",
- "notes": "string",
- "created_by": 0,
- "updated_by": 0,
- "done": 0,
- "increment": 0,
- "increment_group": 0,
- "formable_id": 0,
- "formable_type": "string",
- "request_approval_to": 0,
- "request_approval_at": null,
- "approval_by": 0,
- "approval_at": null,
- "approval_reason": 0,
- "approval_status": 0,
- "request_cancellation_to": 0,
- "request_cancellation_by": 0,
- "request_cancellation_at": null,
- "request_cancellation_reason": "string",
- "cancellation_approval_at": null,
- "cancellation_approval_by": 0,
- "cancellation_approval_reason": "string",
- "cancellation_status": 0,
- "created_at": null,
- "updated_at": null,
- "request_close_to": 0,
- "request_close_by": 0,
- "request_close_at": null,
- "request_close_reason": "string",
- "close_approval_at": null,
- "close_approval_by": 0,
- "close_status": 0
}, - "items": [
- {
- "id": 0,
- "memo_journal_id": 0,
- "chart_of_account_id": 0,
- "chart_of_account_name": "string",
- "form_id": 0,
- "masterable_id": 0,
- "masterable_type": "string",
- "debit": null,
- "credit": null,
- "notes": "string",
- "chart_of_account": {
- "id": 0,
- "type_id": 0,
- "group_id": 0,
- "is_sub_ledger": true,
- "sub_ledger": "string",
- "position": "string",
- "is_locked": true,
- "cash_flow": "string",
- "cash_flow_position": "string",
- "number": "string",
- "name": "string",
- "alias": "string",
- "created_by": 0,
- "updated_by": 0,
- "archived_by": 0,
- "created_at": null,
- "updated_at": null,
- "archived_at": null,
- "label": "string"
}, - "form": {
- "id": 0,
- "branch_id": 0,
- "date": null,
- "number": "string",
- "edited_number": "string",
- "edited_notes": "string",
- "notes": "string",
- "created_by": 0,
- "updated_by": 0,
- "done": 0,
- "increment": 0,
- "increment_group": 0,
- "formable_id": 0,
- "formable_type": "string",
- "request_approval_to": 0,
- "request_approval_at": null,
- "approval_by": 0,
- "approval_at": null,
- "approval_reason": 0,
- "approval_status": 0,
- "request_cancellation_to": 0,
- "request_cancellation_by": 0,
- "request_cancellation_at": null,
- "request_cancellation_reason": "string",
- "cancellation_approval_at": null,
- "cancellation_approval_by": 0,
- "cancellation_approval_reason": "string",
- "cancellation_status": 0,
- "created_at": null,
- "updated_at": null,
- "request_close_to": 0,
- "request_close_by": 0,
- "request_close_at": null,
- "request_close_reason": "string",
- "close_approval_at": null,
- "close_approval_by": 0,
- "close_status": 0
}, - "masterable": {
- "id": 0,
- "chart_of_account_id": 0,
- "code": 0,
- "barcode": 0,
- "name": 0,
- "size": 0,
- "color": 0,
- "weight": 0,
- "notes": 0,
- "taxable": 0,
- "require_production_number": 0,
- "equire_expiry_date": 0,
- "stock": 0,
- "stock_reminder": 0,
- "unit_default": 0,
- "unit_default_purchase": 0,
- "unit_default_sales": 0,
- "created_by": 0,
- "updated_by": 0,
- "archived_by": 0,
- "created_at": null,
- "updated_at": null,
- "archived_at": null,
- "label": "string"
}
}
]
}
]
}| increment_group | string |
| date | date |
| notes | string |
Array of objects | |
| request_approval_to | integer |
| approver_name | string |
| approver_email | string |
{- "increment_group": "string",
- "date": null,
- "notes": "string",
- "items": [
- {
- "chart_of_account_id": 0,
- "chart_of_account_name": "string",
- "masterable_id": 0,
- "masterable_type": "string",
- "form_id": 0,
- "credit": null,
- "debit": null,
- "notes": "string"
}
], - "request_approval_to": 0,
- "approver_name": "string",
- "approver_email": "string"
}{- "data": {
- "id": 0,
- "form": {
- "id": 0,
- "branch_id": 0,
- "date": null,
- "number": "string",
- "edited_number": "string",
- "edited_notes": "string",
- "notes": "string",
- "created_by": 0,
- "updated_by": 0,
- "done": 0,
- "increment": 0,
- "increment_group": 0,
- "formable_id": 0,
- "formable_type": "string",
- "request_approval_to": 0,
- "request_approval_at": null,
- "approval_by": 0,
- "approval_at": null,
- "approval_reason": 0,
- "approval_status": 0,
- "request_cancellation_to": 0,
- "request_cancellation_by": 0,
- "request_cancellation_at": null,
- "request_cancellation_reason": "string",
- "cancellation_approval_at": null,
- "cancellation_approval_by": 0,
- "cancellation_approval_reason": "string",
- "cancellation_status": 0,
- "created_at": null,
- "updated_at": null,
- "request_close_to": 0,
- "request_close_by": 0,
- "request_close_at": null,
- "request_close_reason": "string",
- "close_approval_at": null,
- "close_approval_by": 0,
- "close_status": 0
}, - "items": [
- {
- "id": 0,
- "memo_journal_id": 0,
- "chart_of_account_id": 0,
- "chart_of_account_name": "string",
- "form_id": 0,
- "masterable_id": 0,
- "masterable_type": "string",
- "debit": null,
- "credit": null,
- "notes": "string",
- "chart_of_account": {
- "id": 0,
- "type_id": 0,
- "group_id": 0,
- "is_sub_ledger": true,
- "sub_ledger": "string",
- "position": "string",
- "is_locked": true,
- "cash_flow": "string",
- "cash_flow_position": "string",
- "number": "string",
- "name": "string",
- "alias": "string",
- "created_by": 0,
- "updated_by": 0,
- "archived_by": 0,
- "created_at": null,
- "updated_at": null,
- "archived_at": null,
- "label": "string"
}, - "form": {
- "id": 0,
- "branch_id": 0,
- "date": null,
- "number": "string",
- "edited_number": "string",
- "edited_notes": "string",
- "notes": "string",
- "created_by": 0,
- "updated_by": 0,
- "done": 0,
- "increment": 0,
- "increment_group": 0,
- "formable_id": 0,
- "formable_type": "string",
- "request_approval_to": 0,
- "request_approval_at": null,
- "approval_by": 0,
- "approval_at": null,
- "approval_reason": 0,
- "approval_status": 0,
- "request_cancellation_to": 0,
- "request_cancellation_by": 0,
- "request_cancellation_at": null,
- "request_cancellation_reason": "string",
- "cancellation_approval_at": null,
- "cancellation_approval_by": 0,
- "cancellation_approval_reason": "string",
- "cancellation_status": 0,
- "created_at": null,
- "updated_at": null,
- "request_close_to": 0,
- "request_close_by": 0,
- "request_close_at": null,
- "request_close_reason": "string",
- "close_approval_at": null,
- "close_approval_by": 0,
- "close_status": 0
}, - "masterable": {
- "id": 0,
- "chart_of_account_id": 0,
- "code": 0,
- "barcode": 0,
- "name": 0,
- "size": 0,
- "color": 0,
- "weight": 0,
- "notes": 0,
- "taxable": 0,
- "require_production_number": 0,
- "equire_expiry_date": 0,
- "stock": 0,
- "stock_reminder": 0,
- "unit_default": 0,
- "unit_default_purchase": 0,
- "unit_default_sales": 0,
- "created_by": 0,
- "updated_by": 0,
- "archived_by": 0,
- "created_at": null,
- "updated_at": null,
- "archived_at": null,
- "label": "string"
}
}
]
}
}| id required | integer Memo Journal ID |
| with_archives | boolean Default: true |
| with_origin | boolean Default: true |
| includes | string Example: includes=items.chart_of_account;items.form;items.masterable;form.createdBy;form.requestApprovalTo;form.branch; multi value, divide with coma (;) |
{- "data": {
- "id": 0,
- "form": {
- "id": 0,
- "branch_id": 0,
- "date": null,
- "number": "string",
- "edited_number": "string",
- "edited_notes": "string",
- "notes": "string",
- "created_by": 0,
- "updated_by": 0,
- "done": 0,
- "increment": 0,
- "increment_group": 0,
- "formable_id": 0,
- "formable_type": "string",
- "request_approval_to": 0,
- "request_approval_at": null,
- "approval_by": 0,
- "approval_at": null,
- "approval_reason": 0,
- "approval_status": 0,
- "request_cancellation_to": 0,
- "request_cancellation_by": 0,
- "request_cancellation_at": null,
- "request_cancellation_reason": "string",
- "cancellation_approval_at": null,
- "cancellation_approval_by": 0,
- "cancellation_approval_reason": "string",
- "cancellation_status": 0,
- "created_at": null,
- "updated_at": null,
- "request_close_to": 0,
- "request_close_by": 0,
- "request_close_at": null,
- "request_close_reason": "string",
- "close_approval_at": null,
- "close_approval_by": 0,
- "close_status": 0
}, - "items": [
- {
- "id": 0,
- "memo_journal_id": 0,
- "chart_of_account_id": 0,
- "chart_of_account_name": "string",
- "form_id": 0,
- "masterable_id": 0,
- "masterable_type": "string",
- "debit": null,
- "credit": null,
- "notes": "string",
- "chart_of_account": {
- "id": 0,
- "type_id": 0,
- "group_id": 0,
- "is_sub_ledger": true,
- "sub_ledger": "string",
- "position": "string",
- "is_locked": true,
- "cash_flow": "string",
- "cash_flow_position": "string",
- "number": "string",
- "name": "string",
- "alias": "string",
- "created_by": 0,
- "updated_by": 0,
- "archived_by": 0,
- "created_at": null,
- "updated_at": null,
- "archived_at": null,
- "label": "string"
}, - "form": {
- "id": 0,
- "branch_id": 0,
- "date": null,
- "number": "string",
- "edited_number": "string",
- "edited_notes": "string",
- "notes": "string",
- "created_by": 0,
- "updated_by": 0,
- "done": 0,
- "increment": 0,
- "increment_group": 0,
- "formable_id": 0,
- "formable_type": "string",
- "request_approval_to": 0,
- "request_approval_at": null,
- "approval_by": 0,
- "approval_at": null,
- "approval_reason": 0,
- "approval_status": 0,
- "request_cancellation_to": 0,
- "request_cancellation_by": 0,
- "request_cancellation_at": null,
- "request_cancellation_reason": "string",
- "cancellation_approval_at": null,
- "cancellation_approval_by": 0,
- "cancellation_approval_reason": "string",
- "cancellation_status": 0,
- "created_at": null,
- "updated_at": null,
- "request_close_to": 0,
- "request_close_by": 0,
- "request_close_at": null,
- "request_close_reason": "string",
- "close_approval_at": null,
- "close_approval_by": 0,
- "close_status": 0
}, - "masterable": {
- "id": 0,
- "chart_of_account_id": 0,
- "code": 0,
- "barcode": 0,
- "name": 0,
- "size": 0,
- "color": 0,
- "weight": 0,
- "notes": 0,
- "taxable": 0,
- "require_production_number": 0,
- "equire_expiry_date": 0,
- "stock": 0,
- "stock_reminder": 0,
- "unit_default": 0,
- "unit_default_purchase": 0,
- "unit_default_sales": 0,
- "created_by": 0,
- "updated_by": 0,
- "archived_by": 0,
- "created_at": null,
- "updated_at": null,
- "archived_at": null,
- "label": "string"
}
}
]
}
}| id required | integer Memo Journal ID |
| old_id | integer |
| increment_group | string |
| date | date |
| notes | string |
Array of objects | |
| request_approval_to | integer |
| approver_name | string |
| approver_email | string |
{- "old_id": 0,
- "increment_group": "string",
- "date": null,
- "notes": "string",
- "items": [
- {
- "chart_of_account_id": 0,
- "chart_of_account_name": "string",
- "masterable_id": 0,
- "masterable_type": "string",
- "form_id": 0,
- "credit": null,
- "debit": null,
- "notes": "string"
}
], - "request_approval_to": 0,
- "approver_name": "string",
- "approver_email": "string"
}{- "data": {
- "id": 0,
- "form": {
- "id": 0,
- "branch_id": 0,
- "date": null,
- "number": "string",
- "edited_number": "string",
- "edited_notes": "string",
- "notes": "string",
- "created_by": 0,
- "updated_by": 0,
- "done": 0,
- "increment": 0,
- "increment_group": 0,
- "formable_id": 0,
- "formable_type": "string",
- "request_approval_to": 0,
- "request_approval_at": null,
- "approval_by": 0,
- "approval_at": null,
- "approval_reason": 0,
- "approval_status": 0,
- "request_cancellation_to": 0,
- "request_cancellation_by": 0,
- "request_cancellation_at": null,
- "request_cancellation_reason": "string",
- "cancellation_approval_at": null,
- "cancellation_approval_by": 0,
- "cancellation_approval_reason": "string",
- "cancellation_status": 0,
- "created_at": null,
- "updated_at": null,
- "request_close_to": 0,
- "request_close_by": 0,
- "request_close_at": null,
- "request_close_reason": "string",
- "close_approval_at": null,
- "close_approval_by": 0,
- "close_status": 0
}, - "items": [
- {
- "id": 0,
- "memo_journal_id": 0,
- "chart_of_account_id": 0,
- "chart_of_account_name": "string",
- "form_id": 0,
- "masterable_id": 0,
- "masterable_type": "string",
- "debit": null,
- "credit": null,
- "notes": "string",
- "chart_of_account": {
- "id": 0,
- "type_id": 0,
- "group_id": 0,
- "is_sub_ledger": true,
- "sub_ledger": "string",
- "position": "string",
- "is_locked": true,
- "cash_flow": "string",
- "cash_flow_position": "string",
- "number": "string",
- "name": "string",
- "alias": "string",
- "created_by": 0,
- "updated_by": 0,
- "archived_by": 0,
- "created_at": null,
- "updated_at": null,
- "archived_at": null,
- "label": "string"
}, - "form": {
- "id": 0,
- "branch_id": 0,
- "date": null,
- "number": "string",
- "edited_number": "string",
- "edited_notes": "string",
- "notes": "string",
- "created_by": 0,
- "updated_by": 0,
- "done": 0,
- "increment": 0,
- "increment_group": 0,
- "formable_id": 0,
- "formable_type": "string",
- "request_approval_to": 0,
- "request_approval_at": null,
- "approval_by": 0,
- "approval_at": null,
- "approval_reason": 0,
- "approval_status": 0,
- "request_cancellation_to": 0,
- "request_cancellation_by": 0,
- "request_cancellation_at": null,
- "request_cancellation_reason": "string",
- "cancellation_approval_at": null,
- "cancellation_approval_by": 0,
- "cancellation_approval_reason": "string",
- "cancellation_status": 0,
- "created_at": null,
- "updated_at": null,
- "request_close_to": 0,
- "request_close_by": 0,
- "request_close_at": null,
- "request_close_reason": "string",
- "close_approval_at": null,
- "close_approval_by": 0,
- "close_status": 0
}, - "masterable": {
- "id": 0,
- "chart_of_account_id": 0,
- "code": 0,
- "barcode": 0,
- "name": 0,
- "size": 0,
- "color": 0,
- "weight": 0,
- "notes": 0,
- "taxable": 0,
- "require_production_number": 0,
- "equire_expiry_date": 0,
- "stock": 0,
- "stock_reminder": 0,
- "unit_default": 0,
- "unit_default_purchase": 0,
- "unit_default_sales": 0,
- "created_by": 0,
- "updated_by": 0,
- "archived_by": 0,
- "created_at": null,
- "updated_at": null,
- "archived_at": null,
- "label": "string"
}
}
]
}
}| join | string Example: join=formcustomer |
| fields | string Example: fields=sales_payment_collection.* |
| sort_by | string Example: sort_by=-form.number |
| group_by | string Example: group_by=form.id |
| filter_form | string Example: filter_form=notArchived;null |
| filter_like | string Example: filter_like={} |
| filter_date_min | string Example: filter_date_min={form.date:2022-05-01 00:00:00} |
| filter_date_max | string Example: filter_date_max={form.date:2022-06-08 23:59:59} |
| limit | integer Example: limit=10 |
| includes | string Example: includes=form;customer;details;details.referenceable;details.referenceable.form |
| page | integer Example: page=1 |
{- "data": [
- {
- "id": 87,
- "payment_type": "cash",
- "due_date": "2022-07-29 20:06:27",
- "payment_account_id": null,
- "amount": 100000,
- "supplier_id": 0,
- "supplier_name": "",
- "payment_id": null,
- "customer_id": 1,
- "customer_name": "Chasity Gutkowski",
- "form": {
- "id": 333,
- "branch_id": 1,
- "date": "2022-07-29 20:06:27",
- "number": "PC22070027",
- "edited_number": null,
- "edited_notes": null,
- "notes": "Some notes",
- "created_by": 1,
- "updated_by": 1,
- "done": 0,
- "increment": 27,
- "increment_group": 202207,
- "formable_id": 87,
- "formable_type": "PaymentCollection",
- "request_approval_to": 2,
- "approval_by": 1,
- "approval_at": "2022-07-29 15:37:22",
- "approval_reason": "Some reason",
- "approval_status": -1,
- "request_cancellation_to": null,
- "request_cancellation_by": null,
- "request_cancellation_at": null,
- "request_cancellation_reason": null,
- "cancellation_approval_at": null,
- "cancellation_approval_by": null,
- "cancellation_approval_reason": null,
- "cancellation_status": null,
- "created_at": "2022-07-29 20:06:42",
- "updated_at": "2022-07-29 23:37:22",
- "request_close_to": null,
- "request_close_by": null,
- "request_close_at": null,
- "request_close_reason": null,
- "close_approval_at": null,
- "close_approval_by": null,
- "close_status": null
}, - "customer": {
- "id": 1,
- "code": "C-1",
- "tax_identification_number": null,
- "name": "Customer",
- "address": null,
- "city": null,
- "state": null,
- "country": null,
- "zip_code": null,
- "latitude": null,
- "longitude": null,
- "phone": null,
- "phone_cc": null,
- "email": null,
- "notes": null,
- "credit_limit": 0,
- "branch_id": 1,
- "created_by": 1,
- "updated_by": 1,
- "archived_by": null,
- "pricing_group_id": 1,
- "created_at": "2022-06-13 18:40:45",
- "updated_at": "2022-06-13 18:40:45",
- "archived_at": null,
- "label": "[C-1] Customer"
}, - "details": [
- {
- "id": 159,
- "sales_payment_collection_id": 87,
- "chart_of_account_id": null,
- "allocation_id": null,
- "available": 100000,
- "amount": 100000,
- "notes": null,
- "referenceable_form_date": "2022-07-22 19:16:08",
- "referenceable_form_number": "SI2207015",
- "referenceable_form_notes": "some notes",
- "referenceable_id": 1,
- "referenceable_type": "SalesInvoice",
- "referenceable": null
}
]
}
], - "links": {
- "prev": null,
}, - "meta": {
- "current_page": 1,
- "from": 1,
- "last_page": 4,
- "per_page": "10",
- "to": 10,
- "total": 27
}
}| originalData | any (payment-collection-original-data) |
| customer_id required | integer |
| customer_name | string |
| customer_label | string |
| customer_address | string |
| customer_phone | string |
| increment_group | string |
| date | string |
| due_date | string |
| payment_type required | string |
| request_approval_to required | integer |
| approver_name | string |
| approver_email | string |
| notes | string |
| amount | integer |
| total_invoice | integer |
| total_down_payment | integer |
| total_return | integer |
| total_other | integer |
| total_amount | integer |
| pricing_group_id | integer |
Array of objects | |
required | Array of objects |
{- "originalData": {
- "customer_id": null,
- "customer_name": null,
- "customer_label": null,
- "customer_address": null,
- "customer_phone": null,
- "customer_email": null,
- "references": null,
- "increment_group": "202208",
- "date": "2022-08-01 10:18:22",
- "due_date": "2022-08-01 10:18:22",
- "payment_type": "cash",
- "request_approval_to": null,
- "approver_name": null,
- "approver_email": null,
- "notes": "",
- "amount": 0,
- "total_invoice": 0,
- "total_down_payment": 0,
- "total_return": 0,
- "total_other": 0,
- "total_amount": 0,
- "others": [
- {
- "chart_of_account_id": null,
- "chart_of_account_name": null,
- "amount": null,
- "allocation_id": null,
- "allocation_name": null,
- "notes": null,
- "is_debit": 0
}
], - "details": [
- {
- "date": null,
- "chart_of_account_id": null,
- "chart_of_account_name": null,
- "available": null,
- "amount": null,
- "allocation_id": null,
- "allocation_name": null,
- "referenceable_form_date": null,
- "referenceable_form_number": null,
- "referenceable_form_notes": null,
- "referenceable_id": null,
- "referenceable_type": null
}, - {
- "date": "2022-06-23 17:57:39",
- "chart_of_account_id": null,
- "chart_of_account_name": null,
- "available": "1123000",
- "amount": "1123000",
- "allocation_id": null,
- "allocation_name": null,
- "referenceable_form_date": "2022-06-23 17:57:39",
- "referenceable_form_number": "SI2206010",
- "referenceable_form_notes": null,
- "referenceable_id": 12,
- "referenceable_type": "SalesInvoice"
}
]
}, - "customer_id": 4,
- "customer_name": "CUSTOMER TEST MIRNA",
- "customer_label": "[003] CUSTOMER TEST MIRNA",
- "customer_address": "JALAN MUSI 21",
- "customer_phone": "087851858365",
- "increment_group": "202208",
- "date": "2022-08-01 01:11:12",
- "due_date": "2022-08-01 01:11:12",
- "payment_type": "cash",
- "request_approval_to": 1,
- "approver_name": "admin admin",
- "approver_email": "admin@point.com",
- "notes": "notes",
- "amount": 36760,
- "total_invoice": 0,
- "total_down_payment": 0,
- "total_return": 0,
- "total_other": 30000,
- "total_amount": 0,
- "details": [
- {
- "chart_of_account_id": 87,
- "chart_of_account_name": "[41106] PENDAPATAN LAIN-LAIN",
- "amount": 50000,
- "allocation_id": 1,
- "allocation_name": "test",
- "notes": null,
- "is_debit": 0
}, - {
- "chart_of_account_id": 88,
- "chart_of_account_name": "[41200] BEBAN POKOK PENJUALAN",
- "amount": 20000,
- "allocation_id": 1,
- "allocation_name": "test",
- "notes": null,
- "is_debit": 1
}, - {
- "date": "2022-07-21 12:28:36",
- "chart_of_account_id": null,
- "chart_of_account_name": null,
- "available": 56760,
- "amount": 56760,
- "allocation_id": null,
- "allocation_name": null,
- "referenceable_form_date": "2022-07-21 12:28:36",
- "referenceable_form_number": "SI2207012",
- "referenceable_form_notes": "MIRNA TEST PAYMENT COLLECTION",
- "referenceable_id": 28,
- "referenceable_type": "SalesInvoice"
}, - {
- "date": "2022-08-01 00:52:42",
- "chart_of_account_id": null,
- "chart_of_account_name": null,
- "available": 200000,
- "amount": 50000,
- "allocation_id": null,
- "allocation_name": null,
- "referenceable_form_date": "2022-08-01 00:52:42",
- "referenceable_form_number": "DP22080001",
- "referenceable_form_notes": "-",
- "referenceable_id": "16",
- "referenceable_type": "SalesDownPayment"
}
], - "errors": {
- "errors": { }
}
}{- "data": {
- "customer_id": 4,
- "customer_name": "CUSTOMER TEST MIRNA",
- "due_date": "2022-08-01 01:11:12",
- "payment_type": "cash",
- "amount": 36760,
- "id": 88,
- "form": {
- "id": 342,
- "branch_id": 1,
- "date": "2022-08-01 01:11:12",
- "number": "PC22080001",
- "edited_number": null,
- "edited_notes": null,
- "notes": "notes",
- "created_by": 1,
- "updated_by": 1,
- "done": 0,
- "increment": 1,
- "increment_group": "202208",
- "formable_id": 88,
- "formable_type": "PaymentCollection",
- "request_approval_to": 1,
- "approval_by": null,
- "approval_at": null,
- "approval_reason": null,
- "approval_status": 0,
- "request_cancellation_to": null,
- "request_cancellation_by": null,
- "request_cancellation_at": null,
- "request_cancellation_reason": null,
- "cancellation_approval_at": null,
- "cancellation_approval_by": null,
- "cancellation_approval_reason": null,
- "cancellation_status": null,
- "created_at": "2022-08-01 01:12:17",
- "updated_at": "2022-08-01 01:12:17",
- "request_close_to": null,
- "request_close_by": null,
- "request_close_at": null,
- "request_close_reason": null,
- "close_approval_at": null,
- "close_approval_by": null,
- "close_status": null
}
}
}{- "data": {
- "ids": [
- 0
], - "date_start": "string",
- "date_end": "string",
- "tenant_name": "string"
}
}{
}| limit | integer Example: limit=10 |
| page | integer Example: page=1 |
{- "data": [
- {
- "id": 81,
- "date": "2022-07-22 19:17:39",
- "number": "PC22070023",
- "customer": "Customer",
- "amount": 1155000,
- "last_request_date": "2022-07-28 09:25:08",
- "approval_status": 0
}, - {
- "id": 79,
- "date": "2022-07-21 22:00:24",
- "number": "PC22070021",
- "customer": "CUSTOMER 2",
- "amount": 33000,
- "last_request_date": "2022-07-28 09:22:39",
- "approval_status": 0
}
], - "links": {
- "$ref": "./components/responses/properties/links.yaml"
}, - "meta": {
- "$ref": "./components/responses/properties/meta.yaml"
}
}| id required | any payment collection id |
| with_archives | boolean Example: with_archives=true |
| with_origin | boolean Example: with_origin=true |
| includes | string Example: includes=form;customer;details;details.chartOfAccount;details.chartOfAccount.type;details.allocation;form.createdBy;form.requestApprovalTo;form.branch |
{- "data": {
- "id": 88,
- "payment_type": "cash",
- "due_date": "2022-08-01 01:11:12",
- "payment_account_id": null,
- "amount": 36760,
- "supplier_id": 0,
- "supplier_name": null,
- "payment_id": null,
- "customer_id": 4,
- "customer_name": "CUSTOMER TEST MIRNA",
- "form": [
- {
- "id": 342,
- "branch_id": 1,
- "date": "2022-08-01 01:11:12",
- "number": "PC22080001",
- "edited_number": null,
- "edited_notes": null,
- "notes": "notes",
- "created_by": {
- "id": 1,
- "name": "admin",
- "first_name": "admin",
- "last_name": "admin",
- "address": null,
- "phone": null,
- "email": "admin@point.com",
- "created_at": "2022-06-07 10:07:29",
- "updated_at": "2022-06-07 10:07:29",
- "branch_id": 1,
- "warehouse_id": 1,
- "full_name": "admin admin"
}, - "updated_by": 1,
- "done": 0,
- "increment": 1,
- "increment_group": "202208",
- "formable_id": 88,
- "formable_type": "PaymentCollection",
- "request_approval_to": {
- "id": 1,
- "name": "admin",
- "first_name": "admin",
- "last_name": "admin",
- "address": null,
- "phone": null,
- "email": "admin@point.com",
- "created_at": "2022-06-07 10:07:29",
- "updated_at": "2022-06-07 10:07:29",
- "branch_id": 1,
- "warehouse_id": 1,
- "full_name": "admin admin"
}, - "approval_by": null,
- "approval_at": null,
- "approval_reason": null,
- "approval_status": 0,
- "request_cancellation_to": null,
- "request_cancellation_by": null,
- "request_cancellation_at": null,
- "request_cancellation_reason": null,
- "cancellation_approval_at": null,
- "cancellation_approval_by": null,
- "cancellation_approval_reason": null,
- "cancellation_status": null,
- "created_at": "2022-08-01 01:12:17",
- "updated_at": "2022-08-01 01:12:17",
- "request_close_to": null,
- "request_close_by": null,
- "request_close_at": null,
- "request_close_reason": null,
- "close_approval_at": null,
- "close_approval_by": null,
- "close_status": null,
- "branch": {
- "id": 1,
- "name": "CENTRAL",
- "address": null,
- "phone": null,
- "created_by": null,
- "updated_by": null,
- "archived_by": null,
- "created_at": "2022-06-07 10:07:38",
- "updated_at": "2022-06-07 10:07:38",
- "archived_at": null
}
}
], - "customer": {
- "id": 4,
- "code": "003",
- "tax_identification_number": null,
- "name": "CUSTOMER TEST MIRNA",
- "address": "JALAN MUSI 21",
- "city": null,
- "state": null,
- "country": null,
- "zip_code": null,
- "latitude": null,
- "longitude": null,
- "phone": "087851858365",
- "phone_cc": null,
- "email": "AAINFO.24@GMAIL.COM",
- "notes": null,
- "credit_limit": 0,
- "branch_id": 1,
- "created_by": 1,
- "updated_by": 1,
- "archived_by": null,
- "pricing_group_id": 1,
- "created_at": "2022-06-30 12:14:36",
- "updated_at": "2022-06-30 12:14:36",
- "archived_at": null,
- "label": "[003] CUSTOMER TEST MIRNA"
}, - "details": [
- {
- "id": 160,
- "sales_payment_collection_id": 88,
- "chart_of_account_id": 87,
- "allocation_id": 1,
- "available": null,
- "amount": 50000,
- "notes": null,
- "referenceable_form_date": null,
- "referenceable_form_number": null,
- "referenceable_form_notes": null,
- "referenceable_id": null,
- "referenceable_type": null,
- "chart_of_account": {
- "id": 87,
- "type_id": 29,
- "group_id": null,
- "is_sub_ledger": 0,
- "sub_ledger": null,
- "position": "CREDIT",
- "is_locked": 0,
- "cash_flow": "",
- "cash_flow_position": "",
- "number": 41106,
- "name": "OTHER INCOME",
- "alias": "PENDAPATAN LAIN-LAIN",
- "created_by": 1,
- "updated_by": 1,
- "archived_by": null,
- "created_at": "2022-06-12 18:42:47",
- "updated_at": "2022-06-12 18:42:47",
- "archived_at": null,
- "label": "[41106] PENDAPATAN LAIN-LAIN",
- "type": {
- "id": 29,
- "name": "OTHER INCOME",
- "alias": "PENDAPATAN LAIN-LAIN",
- "is_debit": 0,
- "created_by": null,
- "updated_by": null,
- "created_at": "2022-06-07 10:07:38",
- "updated_at": "2022-06-07 10:07:38"
}
}, - "allocation": {
- "id": 1,
- "code": null,
- "name": "test",
- "notes": null,
- "branch_id": null,
- "created_by": 1,
- "updated_by": 1,
- "archived_by": null,
- "created_at": "2022-06-12 18:43:35",
- "updated_at": "2022-06-12 18:43:35",
- "archived_at": null,
- "label": "test"
}
}, - {
- "id": 162,
- "sales_payment_collection_id": 88,
- "chart_of_account_id": null,
- "allocation_id": null,
- "available": 56760,
- "amount": 56760,
- "notes": null,
- "referenceable_form_date": "2022-07-21 12:28:36",
- "referenceable_form_number": "SI2207012",
- "referenceable_form_notes": "MIRNA TEST PAYMENT COLLECTION",
- "referenceable_id": 28,
- "referenceable_type": "SalesInvoice",
- "chart_of_account": null,
- "allocation": null
}
]
}
}| id required | string Example: 59 |
| originalData | any |
required | Array of objects |
| customer_id required | integer |
| customer_name | string |
| customer_label | string |
| customer_address | string |
| customer_phone | string |
| increment_group | string |
| date | string |
| due_date | string |
| payment_type required | string |
| request_approval_to required | integer |
| approver_name | string |
| approver_email | string |
| notes | string |
| amount | integer |
| total_invoice | integer |
| total_down_payment | integer |
| total_return | integer |
| total_other | integer |
| total_amount | integer |
| pricing_group_id | integer |
Array of objects |
{- "customer_id": 4,
- "customer_name": "CUSTOMER TEST MIRNA",
- "customer_label": "[003] CUSTOMER TEST MIRNA",
- "customer_address": "JALAN MUSI 21",
- "customer_phone": "087851858365",
- "increment_group": "202208",
- "date": "2022-08-01 01:11:12",
- "due_date": "2022-08-01 01:11:12",
- "payment_type": "cash",
- "request_approval_to": 1,
- "approver_name": "admin admin",
- "approver_email": "admin@point.com",
- "notes": "notes",
- "amount": 36760,
- "total_invoice": 0,
- "total_down_payment": 0,
- "total_return": 0,
- "total_other": 30000,
- "total_amount": 0,
- "details": [
- {
- "chart_of_account_id": 87,
- "chart_of_account_name": "[41106] PENDAPATAN LAIN-LAIN",
- "amount": 50000,
- "allocation_id": 1,
- "allocation_name": "test",
- "notes": null,
- "is_debit": 0
}, - {
- "chart_of_account_id": 88,
- "chart_of_account_name": "[41200] BEBAN POKOK PENJUALAN",
- "amount": 20000,
- "allocation_id": 1,
- "allocation_name": "test",
- "notes": null,
- "is_debit": 1
}, - {
- "date": "2022-07-21 12:28:36",
- "chart_of_account_id": null,
- "chart_of_account_name": null,
- "available": 56760,
- "amount": 56760,
- "allocation_id": null,
- "allocation_name": null,
- "referenceable_form_date": "2022-07-21 12:28:36",
- "referenceable_form_number": "SI2207012",
- "referenceable_form_notes": "MIRNA TEST PAYMENT COLLECTION",
- "referenceable_id": 28,
- "referenceable_type": "SalesInvoice"
}, - {
- "date": "2022-08-01 00:52:42",
- "chart_of_account_id": null,
- "chart_of_account_name": null,
- "available": 200000,
- "amount": 50000,
- "allocation_id": null,
- "allocation_name": null,
- "referenceable_form_date": "2022-08-01 00:52:42",
- "referenceable_form_number": "DP22080001",
- "referenceable_form_notes": "-",
- "referenceable_id": "16",
- "referenceable_type": "SalesDownPayment"
}
], - "errors": {
- "errors": { }
}
}{- "customer_id": 4,
- "customer_name": "CUSTOMER TEST MIRNA",
- "due_date": "2022-08-01 02:02:31",
- "payment_type": "cash",
- "amount": 56760,
- "id": 89,
- "form": {
- "id": 343,
- "branch_id": 1,
- "date": "2022-08-01 02:02:31",
- "number": "PC22080001",
- "edited_number": null,
- "edited_notes": null,
- "notes": "notes update",
- "created_by": 1,
- "updated_by": 1,
- "done": 0,
- "increment": 1,
- "increment_group": "202208",
- "formable_id": 89,
- "formable_type": "PaymentCollection",
- "request_approval_to": 1,
- "approval_by": null,
- "approval_at": null,
- "approval_reason": null,
- "approval_status": 0,
- "request_cancellation_to": null,
- "request_cancellation_by": null,
- "request_cancellation_at": null,
- "request_cancellation_reason": null,
- "cancellation_approval_at": null,
- "cancellation_approval_by": null,
- "cancellation_approval_reason": null,
- "cancellation_status": null,
- "created_at": "2022-08-01 02:03:00",
- "updated_at": "2022-08-01 02:03:00",
- "request_close_to": null,
- "request_close_by": null,
- "request_close_at": null,
- "request_close_reason": null,
- "close_approval_at": null,
- "close_approval_by": null,
- "close_status": null
}
}| id required | string Example: 66 |
| sort_by | string Example: sort_by=-user_activities.date |
| includes | string Example: includes=user |
| filter_like | string Example: filter_like={} |
| or_filter_where_has_like[] | string Example: or_filter_where_has_like[]={user:{}} |
| limit | integer Example: limit=10 |
| page | integer Example: page=1 |
{- "data": [
- {
- "id": 180,
- "table_type": "PaymentCollection",
- "table_id": 91,
- "number": "PC22080003",
- "date": "2022-08-01 02:25:21",
- "user_id": 1,
- "activity": "Created",
- "formable_id": 5,
- "user": {
- "id": 1,
- "name": "admin",
- "first_name": "admin",
- "last_name": "admin",
- "address": null,
- "phone": null,
- "email": "admin@point.com",
- "created_at": "2022-06-07 10:07:29",
- "updated_at": "2022-06-07 10:07:29",
- "branch_id": 1,
- "warehouse_id": 1,
- "full_name": "admin admin"
}
}
]
}| id required | any |
| id required | integer |
| activity required | string |
{- "id": 66,
- "activity": "Approved"
}{- "data": {
- "table_type": "forms",
- "table_id": 110,
- "number": null,
- "date": "2022-08-01 02:25:21",
- "user_id": 1,
- "activity": "Approved",
- "id": 66
}
}| id required | string Example: 79 |
| id required | string |
{- "id": "79"
}{- "id": 79,
- "payment_type": "cash",
- "due_date": "2022-07-21 22:00:24",
- "payment_account_id": null,
- "amount": 33000,
- "supplier_id": 0,
- "supplier_name": null,
- "payment_id": null,
- "customer_id": 2,
- "customer_name": "CUSTOMER 2",
- "details": [
- {
- "id": 148,
- "sales_payment_collection_id": 79,
- "chart_of_account_id": null,
- "allocation_id": null,
- "available": 33000,
- "amount": 33000,
- "notes": null,
- "referenceable_form_date": "2022-06-30 12:28:14",
- "referenceable_form_number": "SI2206013",
- "referenceable_form_notes": null,
- "referenceable_id": 15,
- "referenceable_type": "SalesInvoice"
}
], - "form": {
- "id": 317,
- "branch_id": 1,
- "date": "2022-07-21 22:00:24",
- "number": "PC22070021",
- "edited_number": null,
- "edited_notes": null,
- "notes": null,
- "created_by": 1,
- "updated_by": 1,
- "done": 0,
- "increment": 21,
- "increment_group": "202207",
- "formable_id": 79,
- "formable_type": "PaymentCollection",
- "request_approval_to": 2,
- "approval_by": 1,
- "approval_at": "2022-08-01T01:27:47.414193Z",
- "approval_reason": null,
- "approval_status": 0,
- "request_cancellation_to": null,
- "request_cancellation_by": null,
- "request_cancellation_at": null,
- "request_cancellation_reason": null,
- "cancellation_approval_at": null,
- "cancellation_approval_by": null,
- "cancellation_approval_reason": null,
- "cancellation_status": null,
- "created_at": "2022-07-21 22:00:58",
- "updated_at": "2022-08-01 09:27:47",
- "request_close_to": null,
- "request_close_by": null,
- "request_close_at": null,
- "request_close_reason": null,
- "close_approval_at": null,
- "close_approval_by": null,
- "close_status": null
}
}| id required | string Example: 69 |
| id required | string |
| reason required | string |
{- "id": 69,
- "reason": "payment collection rejected"
}{- "data": {
- "id": 90,
- "payment_type": "cash",
- "due_date": "2022-08-01 02:13:04",
- "payment_account_id": null,
- "amount": 36760,
- "supplier_id": 0,
- "supplier_name": "",
- "payment_id": null,
- "customer_id": 4,
- "customer_name": "CUSTOMER TEST MIRNA",
- "form": {
- "id": 344,
- "branch_id": 1,
- "date": "2022-08-01 02:13:04",
- "number": "PC22080002",
- "edited_number": null,
- "edited_notes": null,
- "notes": "tes",
- "created_by": 1,
- "updated_by": 1,
- "done": 0,
- "increment": 2,
- "increment_group": 202208,
- "formable_id": 90,
- "formable_type": "PaymentCollection",
- "request_approval_to": 2,
- "approval_by": 1,
- "approval_at": "2022-07-31T18:17:15.177783Z",
- "approval_reason": "reject",
- "approval_status": -1,
- "request_cancellation_to": null,
- "request_cancellation_by": null,
- "request_cancellation_at": null,
- "request_cancellation_reason": null,
- "cancellation_approval_at": null,
- "cancellation_approval_by": null,
- "cancellation_approval_reason": null,
- "cancellation_status": null,
- "created_at": "2022-08-01 02:14:10",
- "updated_at": "2022-08-01 02:17:15",
- "request_close_to": null,
- "request_close_by": null,
- "request_close_at": null,
- "request_close_reason": null,
- "close_approval_at": null,
- "close_approval_by": null,
- "close_status": null
}
}
}| id required | string Example: 69 |
| id required | integer |
{- "id": 69
}{- "id": 88,
- "payment_type": "bank",
- "due_date": "2022-08-01 07:56:44",
- "payment_account_id": null,
- "amount": 43000,
- "supplier_id": 0,
- "supplier_name": null,
- "payment_id": null,
- "customer_id": 2,
- "customer_name": "CUSTOMER 2",
- "form": {
- "id": 334,
- "branch_id": 1,
- "date": "2022-08-01 07:56:44",
- "number": "PC22080001",
- "edited_number": null,
- "edited_notes": null,
- "notes": "test",
- "created_by": 1,
- "updated_by": 1,
- "done": 0,
- "increment": 1,
- "increment_group": "202208",
- "formable_id": 88,
- "formable_type": "PaymentCollection",
- "request_approval_to": 1,
- "approval_by": null,
- "approval_at": null,
- "approval_reason": null,
- "approval_status": 0,
- "request_cancellation_to": 1,
- "request_cancellation_by": 1,
- "request_cancellation_at": "2022-08-01 00:04:56",
- "request_cancellation_reason": "cancel",
- "cancellation_approval_at": "2022-08-01T00:05:05.136293Z",
- "cancellation_approval_by": 1,
- "cancellation_approval_reason": null,
- "cancellation_status": 1,
- "created_at": "2022-08-01 07:57:35",
- "updated_at": "2022-08-01 08:05:05",
- "request_close_to": null,
- "request_close_by": null,
- "request_close_at": null,
- "request_close_reason": null,
- "close_approval_at": null,
- "close_approval_by": null,
- "close_status": null
}
}| id required | string Example: 67 |
| id required | integer |
| reason required | string |
{- "id": 67,
- "reason": "cancellation reject reason"
}{- "id": 67,
- "payment_type": "bank",
- "due_date": "2022-08-01 07:56:44",
- "payment_account_id": null,
- "amount": 43000,
- "supplier_id": 0,
- "supplier_name": "",
- "payment_id": null,
- "customer_id": 2,
- "customer_name": "CUSTOMER 2",
- "form": {
- "id": 334,
- "branch_id": 1,
- "date": "2022-08-01 07:56:44",
- "number": "PC22080001",
- "edited_number": null,
- "edited_notes": null,
- "notes": "test",
- "created_by": 1,
- "updated_by": 1,
- "done": 0,
- "increment": 1,
- "increment_group": "202208",
- "formable_id": 88,
- "formable_type": "PaymentCollection",
- "request_approval_to": 1,
- "approval_by": null,
- "approval_at": null,
- "approval_reason": null,
- "approval_status": 0,
- "request_cancellation_to": 1,
- "request_cancellation_by": 1,
- "request_cancellation_at": "2022-07-31 23:57:56",
- "request_cancellation_reason": "cancel",
- "cancellation_approval_at": "2022-07-31T23:58:10.445559Z",
- "cancellation_approval_by": 1,
- "cancellation_approval_reason": "reject",
- "cancellation_status": -1,
- "created_at": "2022-08-01 07:57:35",
- "updated_at": "2022-08-01 07:58:10",
- "request_close_to": null,
- "request_close_by": null,
- "request_close_at": null,
- "request_close_reason": null,
- "close_approval_at": null,
- "close_approval_by": null,
- "close_status": null
}
}{- "data": {
- "salesInvoice": [
- {
- "date": "2022-06-23 17:57:39",
- "number": "SI2206010",
- "notes": null,
- "id": 12,
- "amount": 2673000,
- "collected": 1550000,
- "toCollect": 1123000
}
], - "salesDownPayment": [
- {
- "date": "2022-06-23 17:57:39",
- "number": "DP2206010",
- "notes": null,
- "id": 12,
- "amount": 2673000,
- "collected": 1550000,
- "toCollect": 1123000
}
], - "salesReturn": [
- {
- "date": "2022-06-23 17:57:39",
- "number": "SR2206010",
- "notes": null,
- "id": 12,
- "amount": 2673000,
- "collected": 1550000,
- "toCollect": 1123000
}
]
}
}| join | string Example: join=form,customer,items,item |
| fields | string Example: fields=sales_return.* |
| sort_by | string Example: sort_by=-form.number |
| group_by | string Example: group_by=form.id |
| filter_form | string Example: filter_form=notArchived;null |
| filter_like | string Example: filter_like={} |
| filter_date_min | string Example: filter_date_min={"form.date":"2022-05-01 00:00:00"} |
| filter_date_max | string Example: filter_date_max={"form.date":"2022-06-08 23:59:59"} |
| limit | integer Example: limit=10 |
| includes | string Example: includes=form;customer;items.item;items.allocation |
| page | integer Example: page=1 |
{- "data": [
- {
- "id": 15,
- "sales_invoice_id": 34,
- "customer_id": 2,
- "warehouse_id": 1,
- "customer_name": "CUSTOMER",
- "customer_address": null,
- "customer_phone": null,
- "tax": 3000,
- "amount": 33000,
- "form": {
- "id": 352,
- "branch_id": 1,
- "date": "2022-09-10 18:16:14",
- "number": "SR22090011",
- "edited_number": null,
- "edited_notes": null,
- "notes": "rusak",
- "created_by": 1,
- "updated_by": 1,
- "done": 0,
- "increment": 11,
- "increment_group": 202209,
- "formable_id": 15,
- "formable_type": "SalesReturn",
- "request_approval_at": null,
- "request_approval_to": 1,
- "approval_by": 1,
- "approval_at": "2022-09-10 10:16:45",
- "approval_reason": "barang masih bagus",
- "approval_status": -1,
- "request_cancellation_to": null,
- "request_cancellation_by": null,
- "request_cancellation_at": null,
- "request_cancellation_reason": null,
- "cancellation_approval_at": null,
- "cancellation_approval_by": null,
- "cancellation_approval_reason": null,
- "cancellation_status": null,
- "created_at": "2022-09-10 18:16:34",
- "updated_at": "2022-09-10 18:16:45",
- "request_close_to": null,
- "request_close_by": null,
- "request_close_at": null,
- "request_close_reason": null,
- "close_approval_at": null,
- "close_approval_by": null,
- "close_status": null
}, - "customer": {
- "id": 2,
- "code": null,
- "tax_identification_number": null,
- "name": "CUSTOMER",
- "address": null,
- "city": null,
- "state": null,
- "country": null,
- "zip_code": null,
- "latitude": null,
- "longitude": null,
- "phone": null,
- "phone_cc": null,
- "email": null,
- "notes": null,
- "credit_limit": 0,
- "branch_id": 1,
- "created_by": 1,
- "updated_by": 1,
- "archived_by": null,
- "pricing_group_id": 1,
- "created_at": "2022-06-23 17:40:47",
- "updated_at": "2022-06-23 17:40:47",
- "archived_at": null,
- "label": "CUSTOMER"
}, - "items": [
- {
- "id": 13,
- "sales_return_id": 15,
- "sales_invoice_item_id": 33,
- "item_id": 1,
- "item_name": "Kopi",
- "quantity_sales": 5,
- "quantity": 5,
- "price": 540,
- "discount_percent": 0,
- "discount_value": 100,
- "unit": "PCS",
- "converter": 1,
- "expiry_date": null,
- "production_number": null,
- "notes": null,
- "allocation_id": 1,
- "item": {
- "id": 1,
- "chart_of_account_id": 14,
- "code": "BNF01",
- "barcode": null,
- "name": "Kopi",
- "size": null,
- "color": null,
- "weight": null,
- "notes": null,
- "taxable": 1,
- "require_production_number": 0,
- "require_expiry_date": 0,
- "stock": 35496,
- "stock_reminder": 0,
- "unit_default": 1,
- "unit_default_purchase": 1,
- "unit_default_sales": 1,
- "created_by": 1,
- "updated_by": 1,
- "archived_by": null,
- "created_at": "2022-06-13 18:39:26",
- "updated_at": "2022-09-10 18:16:10",
- "archived_at": null,
- "label": "[BNF01] Kopi"
}
}
]
}
], - "links": {
- "prev": null,
}, - "meta": {
- "current_page": 1,
- "from": 1,
- "last_page": 4,
- "per_page": "10",
- "to": 10,
- "total": 36
}
}object (sales-return-original-data) | |
required | Array of objects |
| request_approval_at | string |
| increment_group | string |
| date | string |
| warehouse_id required | integer |
| customer_id required | integer |
| customer_name | string |
| customer_label | string |
| customer_address | string |
| customer_phone | string |
| customer_email | string |
| request_approval_to required | string |
| approver_name | string |
| approver_email | string |
| sales_invoice_id required | integer |
| type_of_tax required | string |
| sub_total required | integer |
| tax_base required | integer |
| tax required | integer |
| amount required | integer |
object |
{- "originalData": {
- "amount": null,
- "approver_email": null,
- "approver_name": null,
- "customer_address": null,
- "customer_code": null,
- "customer_email": null,
- "customer_id": null,
- "customer_name": null,
- "customer_phone": null,
- "date": "2022-09-11 12:36:14",
- "increment_group": "202209",
- "items": [ ],
- "notes": null,
- "request_approval_to": null,
- "sales_invoice_id": null,
- "tax": null,
- "type_of_tax": null,
- "warehouse_id": null
}, - "increment_group": "202209",
- "date": "2022-09-11 12:36:14",
- "amount": 5500,
- "approver_email": "admin@point.com",
- "approver_name": "admin admin",
- "customer_address": null,
- "customer_email": null,
- "customer_id": 1,
- "customer_name": "Customer",
- "customer_phone": null,
- "request_approval_to": 1,
- "sales_invoice_id": 33,
- "tax": 500,
- "type_of_tax": "exclude",
- "warehouse_id": 1,
- "notes": "rusak",
- "items": [
- {
- "allocation_id": 1,
- "allocation_name": "test",
- "converter": 1,
- "discount_percent": 0,
- "discount_value": 0,
- "expiry_date": null,
- "item_id": 1,
- "item_label": "Kopi",
- "item_name": "Kopi",
- "more": false,
- "notes": null,
- "price": 5000,
- "price_sales": 5000,
- "production_number": null,
- "quantity": "1",
- "quantity_sales": "7",
- "sales_invoice_item_id": 32,
- "total": 5000,
- "unit": "PCS"
}
], - "errors": {
- "errors": { }
}
}{- "data": {
- "sales_invoice_id": 33,
- "warehouse_id": 1,
- "customer_id": 1,
- "customer_name": "Customer",
- "customer_address": null,
- "customer_phone": null,
- "tax": 500,
- "amount": 5500,
- "id": 14,
- "form": {
- "id": 351,
- "branch_id": 1,
- "date": "2022-09-11 12:36:14",
- "number": "SR22090010",
- "edited_number": null,
- "edited_notes": null,
- "notes": null,
- "created_by": 1,
- "updated_by": 1,
- "done": 0,
- "increment": 10,
- "increment_group": 202209,
- "formable_id": 14,
- "formable_type": "SalesReturn",
- "request_approval_at": null,
- "request_approval_to": 1,
- "approval_by": null,
- "approval_at": null,
- "approval_reason": null,
- "approval_status": 0,
- "request_cancellation_to": null,
- "request_cancellation_by": null,
- "request_cancellation_at": null,
- "request_cancellation_reason": null,
- "cancellation_approval_at": null,
- "cancellation_approval_by": null,
- "cancellation_approval_reason": null,
- "cancellation_status": null,
- "request_close_to": null,
- "request_close_by": null,
- "request_close_at": null,
- "request_close_reason": null,
- "close_approval_at": null,
- "close_approval_by": null,
- "close_status": null
}, - "items": [
- {
- "id": 12,
- "sales_return_id": 14,
- "sales_invoice_item_id": 32,
- "item_id": 1,
- "item_name": "Kopi",
- "quantity_sales": 7,
- "quantity": 1,
- "price": 5000,
- "discount_percent": 0,
- "discount_value": 0,
- "unit": "PCS",
- "converter": 1,
- "expiry_date": null,
- "production_number": null,
- "notes": null,
- "allocation_id": 1
}
]
}
}| join | string Example: join=form,customer,items,item |
| fields | string Example: fields=sales_return.* |
| sort_by | string Example: sort_by=-form.number |
| group_by | string Example: group_by=form.id |
| filter_form | string Example: filter_form=notArchived;null |
| filter_like | string Example: filter_like={} |
| filter_date_min | string Example: filter_date_min={"form.date":"2022-05-01 00:00:00"} |
| filter_date_max | string Example: filter_date_max={"form.date":"2022-05-17 23:59:59"} |
| limit | integer Example: limit=10 |
| includes | string Example: includes=form;customer;items.item;items.allocation |
| page | integer Example: page=1 |
{- "data": [
- {
- "id": 15,
- "sales_invoice_id": 34,
- "customer_id": 2,
- "warehouse_id": 1,
- "customer_name": "CUSTOMER",
- "customer_address": null,
- "customer_phone": null,
- "tax": 3000,
- "amount": 33000,
- "form": {
- "id": 352,
- "branch_id": 1,
- "date": "2022-09-10 18:16:14",
- "number": "SR22090011",
- "edited_number": null,
- "edited_notes": null,
- "notes": "rusak",
- "created_by": 1,
- "updated_by": 1,
- "done": 0,
- "increment": 11,
- "increment_group": 202209,
- "formable_id": 15,
- "formable_type": "SalesReturn",
- "request_approval_at": null,
- "request_approval_to": 1,
- "approval_by": 1,
- "approval_at": "2022-09-10 10:16:45",
- "approval_reason": "barang masih bagus",
- "approval_status": -1,
- "request_cancellation_to": null,
- "request_cancellation_by": null,
- "request_cancellation_at": null,
- "request_cancellation_reason": null,
- "cancellation_approval_at": null,
- "cancellation_approval_by": null,
- "cancellation_approval_reason": null,
- "cancellation_status": null,
- "created_at": "2022-09-10 18:16:34",
- "updated_at": "2022-09-10 18:16:45",
- "request_close_to": null,
- "request_close_by": null,
- "request_close_at": null,
- "request_close_reason": null,
- "close_approval_at": null,
- "close_approval_by": null,
- "close_status": null
}, - "customer": {
- "id": 2,
- "code": null,
- "tax_identification_number": null,
- "name": "CUSTOMER",
- "address": null,
- "city": null,
- "state": null,
- "country": null,
- "zip_code": null,
- "latitude": null,
- "longitude": null,
- "phone": null,
- "phone_cc": null,
- "email": null,
- "notes": null,
- "credit_limit": 0,
- "branch_id": 1,
- "created_by": 1,
- "updated_by": 1,
- "archived_by": null,
- "pricing_group_id": 1,
- "created_at": "2022-06-23 17:40:47",
- "updated_at": "2022-06-23 17:40:47",
- "archived_at": null,
- "label": "CUSTOMER"
}, - "items": [
- {
- "id": 13,
- "sales_return_id": 15,
- "sales_invoice_item_id": 33,
- "item_id": 1,
- "item_name": "Kopi",
- "quantity_sales": 5,
- "quantity": 5,
- "price": 540,
- "discount_percent": 0,
- "discount_value": 100,
- "unit": "PCS",
- "converter": 1,
- "expiry_date": null,
- "production_number": null,
- "notes": null,
- "allocation_id": 1,
- "item": {
- "id": 1,
- "chart_of_account_id": 14,
- "code": "BNF01",
- "barcode": null,
- "name": "Kopi",
- "size": null,
- "color": null,
- "weight": null,
- "notes": null,
- "taxable": 1,
- "require_production_number": 0,
- "require_expiry_date": 0,
- "stock": 35496,
- "stock_reminder": 0,
- "unit_default": 1,
- "unit_default_purchase": 1,
- "unit_default_sales": 1,
- "created_by": 1,
- "updated_by": 1,
- "archived_by": null,
- "created_at": "2022-06-13 18:39:26",
- "updated_at": "2022-09-10 18:16:10",
- "archived_at": null,
- "label": "[BNF01] Kopi"
}
}
]
}
], - "links": {
- "prev": null,
- "next": null
}, - "meta": {
- "current_page": 1,
- "from": 1,
- "last_page": 1,
- "per_page": "10",
- "to": 1,
- "total": 1
}
}| id required | any sales return id |
| with_archives | boolean Example: with_archives=true |
| with_origin | boolean Example: with_origin=true |
| includes | string Example: includes=customer;items.item;items.allocation;salesInvoice.form;form.createdBy;form.requestApprovalTo;form.branch |
{- "data": {
- "id": 14,
- "sales_invoice_id": 33,
- "customer_id": 1,
- "customer_name": "Customer",
- "customer_address": null,
- "customer_phone": null,
- "tax": 500,
- "amount": 5500,
- "warehouse_id": 1,
- "archives": [ ],
- "customer": {
- "id": 1,
- "code": "C-1",
- "tax_identification_number": null,
- "name": "Customer",
- "address": null,
- "city": null,
- "state": null,
- "country": null,
- "zip_code": null,
- "latitude": null,
- "longitude": null,
- "phone": null,
- "phone_cc": null,
- "email": null,
- "notes": null,
- "credit_limit": 0,
- "branch_id": 1,
- "created_by": 1,
- "updated_by": 1,
- "archived_by": null,
- "pricing_group_id": 1,
- "created_at": "2022-06-13 18:40:45",
- "updated_at": "2022-06-13 18:40:45",
- "archived_at": null,
- "label": "[C-1] Customer"
}, - "items": [
- {
- "id": 12,
- "sales_return_id": 14,
- "sales_invoice_item_id": 32,
- "item_id": 1,
- "item_name": "Kopi",
- "quantity_sales": 7,
- "quantity": 1,
- "price": 5000,
- "discount_percent": 0,
- "discount_value": 0,
- "unit": "PCS",
- "converter": 1,
- "expiry_date": null,
- "production_number": null,
- "notes": null,
- "allocation_id": 1,
- "item": {
- "id": 1,
- "chart_of_account_id": 14,
- "code": "BNF01",
- "barcode": null,
- "name": "Kopi",
- "size": null,
- "color": null,
- "weight": null,
- "notes": null,
- "taxable": 1,
- "require_production_number": 0,
- "require_expiry_date": 0,
- "stock": 35493,
- "stock_reminder": 0,
- "unit_default": 1,
- "unit_default_purchase": 1,
- "unit_default_sales": 1,
- "label": "[BNF01] Kopi"
}, - "allocation": {
- "id": 2,
- "code": null,
- "name": "RETUR MUSI",
- "notes": null,
- "branch_id": null,
- "label": "RETUR MUSI"
}
}
], - "form": {
- "id": 351,
- "branch_id": 1,
- "date": "2022-09-11 12:36:14",
- "number": "SR22090010",
- "edited_number": null,
- "edited_notes": null,
- "notes": null,
- "created_by": {
- "id": 1,
- "name": "admin",
- "first_name": "admin",
- "last_name": "admin",
- "address": null,
- "phone": null,
- "email": "admin@point.com",
- "branch_id": null,
- "warehouse_id": null,
- "full_name": "admin admin"
}, - "updated_by": 1,
- "done": 0,
- "increment": 10,
- "increment_group": 202209,
- "formable_id": 14,
- "formable_type": "SalesReturn",
- "request_approval_to": {
- "id": 1,
- "name": "admin",
- "first_name": "admin",
- "last_name": "admin",
- "address": null,
- "phone": null,
- "email": "admin@point.com",
- "branch_id": null,
- "warehouse_id": null,
- "full_name": "admin admin"
}, - "approval_by": null,
- "approval_at": null,
- "approval_reason": null,
- "approval_status": 0,
- "request_cancellation_to": null,
- "request_cancellation_by": null,
- "request_cancellation_at": null,
- "request_cancellation_reason": null,
- "cancellation_approval_at": null,
- "cancellation_approval_by": null,
- "cancellation_approval_reason": null,
- "cancellation_status": null,
- "request_approval_at": "2022-09-11 12:36:42",
- "request_close_to": null,
- "request_close_by": null,
- "request_close_at": null,
- "request_close_reason": null,
- "close_approval_at": null,
- "close_approval_by": null,
- "close_approval_reason": null,
- "close_status": null,
- "branch": {
- "id": 1,
- "name": "CENTRAL",
- "address": null,
- "phone": null,
- "archived_at": null
}
}
}
}| id required | string Example: 59 |
| originalData | any |
required | Array of objects |
| request_approval_at | string |
| increment_group | string |
| date | string |
| warehouse_id required | integer |
| customer_id required | integer |
| customer_name | string |
| customer_label | string |
| customer_address | string |
| customer_phone | string |
| customer_email | string |
| request_approval_to required | string |
| approver_name | string |
| approver_email | string |
| sales_invoice_id required | integer |
| type_of_tax required | string |
| sub_total required | integer |
| tax_base required | integer |
| tax required | integer |
| amount required | integer |
object |
{- "originalData": {
- "amount": null,
- "approver_email": null,
- "approver_name": null,
- "customer_address": null,
- "customer_code": null,
- "customer_email": null,
- "customer_id": null,
- "customer_name": null,
- "customer_phone": null,
- "date": "2022-09-11 12:36:14",
- "increment_group": "202209",
- "items": [ ],
- "notes": null,
- "request_approval_to": null,
- "sales_invoice_id": null,
- "tax": null,
- "type_of_tax": null,
- "warehouse_id": null
}, - "increment_group": "202209",
- "date": "2022-09-11 12:36:14",
- "amount": 5500,
- "approver_email": "admin@point.com",
- "approver_name": "admin admin",
- "customer_address": null,
- "customer_email": null,
- "customer_id": 1,
- "customer_name": "Customer",
- "customer_phone": null,
- "request_approval_to": 1,
- "sales_invoice_id": 33,
- "tax": 500,
- "type_of_tax": "exclude",
- "warehouse_id": 1,
- "notes": "rusak",
- "items": [
- {
- "allocation_id": 1,
- "allocation_name": "test",
- "converter": 1,
- "discount_percent": 0,
- "discount_value": 0,
- "expiry_date": null,
- "item_id": 1,
- "item_label": "Kopi",
- "item_name": "Kopi",
- "more": false,
- "notes": null,
- "price": 5000,
- "price_sales": 5000,
- "production_number": null,
- "quantity": "1",
- "quantity_sales": "7",
- "sales_invoice_item_id": 32,
- "total": 5000,
- "unit": "PCS"
}
], - "errors": {
- "errors": { }
}
}{- "data": {
- "sales_invoice_id": 33,
- "warehouse_id": 1,
- "customer_id": 1,
- "customer_name": "Customer",
- "customer_address": null,
- "customer_phone": null,
- "tax": 500,
- "amount": 5500,
- "id": 14,
- "form": {
- "id": 351,
- "branch_id": 1,
- "date": "2022-09-11 12:36:14",
- "number": "SR22090010",
- "edited_number": null,
- "edited_notes": null,
- "notes": null,
- "created_by": 1,
- "updated_by": 1,
- "done": 0,
- "increment": 10,
- "increment_group": 202209,
- "formable_id": 14,
- "formable_type": "SalesReturn",
- "request_approval_at": null,
- "request_approval_to": 1,
- "approval_by": null,
- "approval_at": null,
- "approval_reason": null,
- "approval_status": 0,
- "request_cancellation_to": null,
- "request_cancellation_by": null,
- "request_cancellation_at": null,
- "request_cancellation_reason": null,
- "cancellation_approval_at": null,
- "cancellation_approval_by": null,
- "cancellation_approval_reason": null,
- "cancellation_status": null,
- "request_close_to": null,
- "request_close_by": null,
- "request_close_at": null,
- "request_close_reason": null,
- "close_approval_at": null,
- "close_approval_by": null,
- "close_status": null
}, - "items": [
- {
- "id": 12,
- "sales_return_id": 14,
- "sales_invoice_item_id": 32,
- "item_id": 1,
- "item_name": "Kopi",
- "quantity_sales": 7,
- "quantity": 1,
- "price": 5000,
- "discount_percent": 0,
- "discount_value": 0,
- "unit": "PCS",
- "converter": 1,
- "expiry_date": null,
- "production_number": null,
- "notes": null,
- "allocation_id": 1
}
]
}
}| id required | string Example: 16 |
| sort_by | string Example: sort_by=-user_activities.date |
| includes | string Example: includes=user |
| filter_like | string Example: filter_like={} |
| or_filter_where_has_like[] | string Example: or_filter_where_has_like[]={"user":{}} |
| limit | integer Example: limit=10 |
| page | integer Example: page=1 |
{- "data": [
- {
- "id": 327,
- "table_type": "SalesReturn",
- "table_id": 31,
- "number": "SR22090027",
- "date": "2022-09-13 14:28:52",
- "user_id": 3,
- "activity": "Approved",
- "formable_id": 31,
- "user": {
- "id": 3,
- "name": "user1",
- "first_name": "user1",
- "last_name": "user1",
- "address": null,
- "phone": null,
- "email": "aininr13@gmail.com",
- "created_at": "2022-07-11 06:49:44",
- "updated_at": "2022-07-11 06:49:47",
- "branch_id": 1,
- "warehouse_id": 1,
- "full_name": "user1 user1"
}
}, - {
- "id": 326,
- "table_type": "SalesReturn",
- "table_id": 31,
- "number": "SR22090027",
- "date": "2022-09-13 14:28:46",
- "user_id": 3,
- "activity": "Created",
- "formable_id": 31,
- "user": {
- "id": 3,
- "name": "user1",
- "first_name": "user1",
- "last_name": "user1",
- "address": null,
- "phone": null,
- "email": "aininr13@gmail.com",
- "created_at": "2022-07-11 06:49:44",
- "updated_at": "2022-07-11 06:49:47",
- "branch_id": 1,
- "warehouse_id": 1,
- "full_name": "user1 user1"
}
}
], - "links": {
- "prev": null,
- "next": null
}, - "meta": {
- "current_page": 1,
- "from": 1,
- "last_page": 1,
- "per_page": "10",
- "to": 2,
- "total": 2
}
}| id required | string Example: 14 |
| id required | string |
{- "id": "14"
}{- "data": {
- "id": 29,
- "sales_invoice_id": 42,
- "customer_id": 2,
- "customer_name": "CUSTOMER 2",
- "customer_address": null,
- "customer_phone": null,
- "tax": 98800,
- "amount": 1086800,
- "warehouse_id": 1,
- "form": {
- "id": 468,
- "branch_id": 1,
- "date": "2022-09-13 14:24:54",
- "number": "SR22090025",
- "edited_number": null,
- "edited_notes": null,
- "notes": null,
- "created_by": 1,
- "updated_by": 1,
- "done": 0,
- "increment": 25,
- "increment_group": 202209,
- "formable_id": 29,
- "formable_type": "SalesReturn",
- "request_approval_at": null,
- "request_approval_to": 1,
- "approval_by": 1,
- "approval_at": "2022-10-09T08:36:33.033335Z",
- "approval_reason": null,
- "approval_status": 1,
- "request_cancellation_to": null,
- "request_cancellation_by": null,
- "request_cancellation_at": null,
- "request_cancellation_reason": null,
- "cancellation_approval_at": null,
- "cancellation_approval_by": null,
- "cancellation_approval_reason": null,
- "cancellation_status": null,
- "request_close_to": null,
- "request_close_by": null,
- "request_close_at": null,
- "request_close_reason": null,
- "close_approval_at": null,
- "close_approval_by": null,
- "close_status": null
}
}
}| id required | string Example: 16 |
| id required | string |
| reason required | string |
{- "id": 16,
- "reason": "reason sales return rejected"
}{- "data": {
- "id": 25,
- "sales_invoice_id": 44,
- "customer_id": 6,
- "customer_name": "AINI",
- "customer_address": null,
- "customer_phone": null,
- "tax": 900,
- "amount": 9900,
- "warehouse_id": 1,
- "form": {
- "id": 448,
- "branch_id": 1,
- "date": "2022-09-13 12:38:26",
- "number": "SR22090021",
- "edited_number": null,
- "edited_notes": null,
- "notes": null,
- "created_by": 1,
- "updated_by": 1,
- "done": 0,
- "increment": 21,
- "increment_group": 202209,
- "formable_id": 25,
- "formable_type": "SalesReturn",
- "request_approval_at": null,
- "request_approval_to": 3,
- "approval_by": 1,
- "approval_at": "2022-10-09T08:48:52.956104Z",
- "approval_reason": "rejecy",
- "approval_status": -1,
- "request_cancellation_to": null,
- "request_cancellation_by": null,
- "request_cancellation_at": null,
- "request_cancellation_reason": null,
- "cancellation_approval_at": null,
- "cancellation_approval_by": null,
- "cancellation_approval_reason": null,
- "cancellation_status": null,
- "request_close_to": null,
- "request_close_by": null,
- "request_close_at": null,
- "request_close_reason": null,
- "close_approval_at": null,
- "close_approval_by": null,
- "close_status": null
}
}
}| id required | string Example: 16 |
| id required | integer |
{- "id": 16
}{- "data": {
- "id": 32,
- "sales_invoice_id": 42,
- "customer_id": 2,
- "customer_name": "CUSTOMER 2",
- "customer_address": null,
- "customer_phone": null,
- "tax": 98800,
- "amount": 1086800,
- "warehouse_id": 1,
- "form": {
- "id": 471,
- "branch_id": 1,
- "date": "2022-09-13 14:31:01",
- "number": "SR22090028",
- "edited_number": null,
- "edited_notes": null,
- "notes": null,
- "created_by": 1,
- "updated_by": 1,
- "done": 0,
- "increment": 28,
- "increment_group": 202209,
- "formable_id": 32,
- "formable_type": "SalesReturn",
- "request_approval_at": null,
- "request_approval_to": 1,
- "approval_by": 1,
- "approval_at": "2022-09-13 06:31:36",
- "approval_reason": null,
- "approval_status": 1,
- "request_cancellation_to": 1,
- "request_cancellation_by": 1,
- "request_cancellation_at": "2022-10-09 08:16:04",
- "request_cancellation_reason": "cancel",
- "cancellation_approval_at": "2022-10-09T08:17:09.680299Z",
- "cancellation_approval_by": 1,
- "cancellation_approval_reason": null,
- "cancellation_status": 1,
- "request_close_to": null,
- "request_close_by": null,
- "request_close_at": null,
- "request_close_reason": null,
- "close_approval_at": null,
- "close_approval_by": null,
- "close_status": null
}
}
}| id required | string Example: 16 |
| id required | integer |
| reason required | string |
{- "id": 16,
- "reason": "cancellation reject reason"
}null| ids required | Array of integers |
| token required | string |
| approver_id required | string |
{- "ids": [
- 14
], - "token": "4a004ce7706e2d35555ce75898bc3f0b",
- "approver_id": "1"
}{- "data": [
- {
- "id": 29,
- "sales_invoice_id": 42,
- "customer_id": 2,
- "customer_name": "CUSTOMER 2",
- "customer_address": null,
- "customer_phone": null,
- "tax": 98800,
- "amount": 1086800,
- "warehouse_id": 1,
- "form": {
- "id": 468,
- "branch_id": 1,
- "date": "2022-09-13 14:24:54",
- "number": "SR22090025",
- "edited_number": null,
- "edited_notes": null,
- "notes": null,
- "created_by": 1,
- "updated_by": 1,
- "done": 0,
- "increment": 25,
- "increment_group": 202209,
- "formable_id": 29,
- "formable_type": "SalesReturn",
- "request_approval_at": null,
- "request_approval_to": 1,
- "approval_by": 1,
- "approval_at": "2022-10-09T08:36:33.033335Z",
- "approval_reason": null,
- "approval_status": 1,
- "request_cancellation_to": null,
- "request_cancellation_by": null,
- "request_cancellation_at": null,
- "request_cancellation_reason": null,
- "cancellation_approval_at": null,
- "cancellation_approval_by": null,
- "cancellation_approval_reason": null,
- "cancellation_status": null,
- "request_close_to": null,
- "request_close_by": null,
- "request_close_at": null,
- "request_close_reason": null,
- "close_approval_at": null,
- "close_approval_by": null,
- "close_status": null
}
}
]
}| sort_by | string Example: sort_by=name |
| filter_like | string Example: name=john |
| limit | integer Example: limit=10 |
| page | integer Example: page=1 |
| includes | string Example: includes=scorers, reviewers |
| additional | string Example: additional=groups |
| filter_status | string Example: filter_status=1 |
{- "data": [
- {
- "id": 14,
- "code": "121314",
- "tax_identification_number": null,
- "name": "John Doe",
- "address": null,
- "city": null,
- "state": null,
- "country": null,
- "zip_code": null,
- "latitude": null,
- "longitude": null,
- "phone": null,
- "phone_cc": null,
- "email": null,
- "bpjs": null,
- "resign_date": null,
- "personal_identity": "A001",
- "last_education": null,
- "birth_date": "2021-11-11",
- "birth_place": "Lorem Ipsum",
- "employee_gender_id": 1,
- "employee_marital_status_id": 1,
- "married_with": null,
- "employee_religion_id": 1,
- "employee_group_id": 1,
- "employee_status_id": 1,
- "employee_job_location_id": 1,
- "join_date": "2022-11-11 00:00:00",
- "job_title": "HR",
- "kpi_template_id": 17,
- "notes": null,
- "daily_transport_allowance": 0,
- "functional_allowance": 0,
- "communication_allowance": 0,
- "branch_id": null,
- "user_id": 1,
- "created_by": 1,
- "updated_by": 1,
- "archived_by": null,
- "created_at": "2022-11-11 00:50:50",
- "updated_at": "2022-12-27 02:12:48",
- "archived_at": null,
- "label": "[121314] John Doe",
- "group": {
- "id": 1,
- "name": "devOps",
- "created_by": 1,
- "updated_by": 1,
- "created_at": "2022-10-11 05:06:46",
- "updated_at": "2022-10-11 05:06:46"
}, - "gender": {
- "id": 1,
- "name": "Male",
- "created_by": null,
- "updated_by": null,
- "created_at": "2022-12-27 02:17:58",
- "updated_at": "2022-12-27 02:17:58"
}, - "religion": {
- "id": 1,
- "name": "Christian",
- "created_by": null,
- "updated_by": null,
- "created_at": "2022-12-27 02:17:58",
- "updated_at": "2022-12-27 02:17:58"
}, - "marital_status": {
- "id": 1,
- "name": "Single",
- "created_by": null,
- "updated_by": null,
- "created_at": "2022-12-27 02:17:58",
- "updated_at": "2022-12-27 02:17:58"
}, - "company_emails": [
- {
- "id": 13,
- "employee_id": 14,
- "email": "john.doe@mail.com",
- "is_main": 0,
- "created_by": 1,
- "updated_by": 1,
- "created_at": "2022-11-11 00:50:50",
- "updated_at": "2022-11-11 00:50:50"
}
], - "social_media": [
- {
- "id": 1,
- "employee_id": 14,
- "type": "Facebook",
- "account": "fb",
- "created_by": 1,
- "updated_by": 1,
- "created_at": "2022-12-27 02:12:48",
- "updated_at": "2022-12-27 02:12:48"
}
], - "contracts": [
- {
- "id": 13,
- "employee_id": 14,
- "contract_begin": "2021-11-10 17:00:00",
- "contract_end": "2022-11-10 17:00:00",
- "contract_due_date": "2022-11-10 17:00:00",
- "link": "",
- "notes": "call my name JD",
- "created_by": 1,
- "updated_by": 1,
- "created_at": "2022-11-11 00:50:50",
- "updated_at": "2022-11-11 00:50:50"
}
], - "salary_histories": [
- {
- "id": 1,
- "employee_id": 14,
- "date": "2022-12-30 00:00:00",
- "salary": 10000000,
- "created_by": 1,
- "updated_by": 1,
- "created_at": "2022-12-27 02:12:48",
- "updated_at": "2022-12-27 02:12:48"
}
], - "kpi_template": {
- "id": 17,
- "name": "shxlQaW",
- "created_by": 1,
- "updated_by": 1,
- "archived_by": null,
- "created_at": "2022-11-07 14:12:40",
- "updated_at": "2022-11-07 14:12:40",
- "archived_at": null
}, - "scorers": [
- {
- "id": 1,
- "name": "admin",
- "first_name": "admin",
- "last_name": "admin",
- "address": null,
- "phone": null,
- "email": "ans.cool.06@gmail.com",
- "created_at": "2022-07-17 14:33:57",
- "updated_at": "2022-07-17 14:33:57",
- "branch_id": null,
- "warehouse_id": null,
- "full_name": "admin admin",
- "pivot": {
- "employee_id": 14,
- "user_id": 1
}
}
], - "reviewers": [
- {
- "id": 1,
- "name": "admin",
- "first_name": "admin",
- "last_name": "admin",
- "address": null,
- "phone": null,
- "email": "ans.cool.06@gmail.com",
- "created_at": "2022-07-17 14:33:57",
- "updated_at": "2022-07-17 14:33:57",
- "branch_id": null,
- "warehouse_id": null,
- "full_name": "admin admin",
- "pivot": {
- "employee_id": 14,
- "user_id": 1
}
}
], - "emails": [
- {
- "id": 36,
- "label": null,
- "email": "john.doe@mail.com",
- "is_main": 0,
- "emailable_id": 14,
- "emailable_type": "Employee",
- "created_by": 1,
- "updated_by": 1,
- "created_at": "2022-12-27 02:12:48",
- "updated_at": "2022-12-27 02:12:48"
}
], - "addresses": [
- {
- "id": 36,
- "label": null,
- "address": "Lorem Ipsum",
- "city": null,
- "state": null,
- "country": null,
- "zip_code": null,
- "latitude": null,
- "longitude": null,
- "is_main": 0,
- "addressable_id": 14,
- "addressable_type": "Employee",
- "created_by": 1,
- "updated_by": 1,
- "created_at": "2022-12-27 02:12:48",
- "updated_at": "2022-12-27 02:12:48"
}
], - "phones": [
- {
- "id": 36,
- "label": null,
- "country_code": null,
- "number": 8123456789,
- "is_main": 0,
- "phoneable_id": 14,
- "phoneable_type": "Employee",
- "created_by": 1,
- "updated_by": 1,
- "created_at": "2022-12-27 02:12:48",
- "updated_at": "2022-12-27 02:12:48"
}
], - "status": {
- "id": 1,
- "name": "ACTIVE",
- "created_by": 1,
- "updated_by": 1,
- "created_at": "2022-10-11 05:10:58",
- "updated_at": "2022-10-11 05:10:58"
}, - "job_location": {
- "id": 1,
- "name": "surabaya-21",
- "base_salary": "21.000000000000000000000000000000",
- "multiplier_kpi": "1.000000000000000000000000000000",
- "created_by": 1,
- "updated_by": 1,
- "created_at": "2022-10-11 05:09:18",
- "updated_at": "2022-11-04 18:14:16"
}, - "user": {
- "id": 1,
- "name": "admin",
- "first_name": "admin",
- "last_name": "admin",
- "address": null,
- "phone": null,
- "email": "ans.cool.06@gmail.com",
- "created_at": "2022-07-17 14:33:57",
- "updated_at": "2022-07-17 14:33:57",
- "branch_id": null,
- "warehouse_id": null,
- "full_name": "admin admin"
}
}
], - "links": {
- "prev": null,
}, - "meta": {
- "current_page": 1,
- "from": 1,
- "last_page": 2,
- "per_page": "10",
- "to": 10,
- "total": 11
}
}| name required | string |
| tax_identification_number | string |
| bpjs | string |
Array of objects | |
Array of objects | |
Array of objects | |
| birth_date | date |
| birth_place | string |
| personal_identity | string |
| last_education | string |
| employee_marital_status_id | integer |
| marital_status | string |
| married_with | string |
| employee_group_id | integer |
| employee_group_name | string |
| job_title | string |
| join_date | date |
| resign_date | date |
| code | string |
| status | string |
| job_location | string |
| daily_transport_allowance | string |
| functional_allowance | string |
| communication_allowance | string |
Array of objects | |
Array of objects | |
Array of objects | |
Array of objects | |
Array of objects | |
Array of objects | |
| attachments | Array of objects |
| errors | Array of objects |
| employee_gender_id | integer |
| employee_religion_id | integer |
| employee_status_id | integer |
| user_id | integer |
{- "name": "string",
- "tax_identification_number": "string",
- "bpjs": "string",
- "emails": [
- {
- "email": "string"
}
], - "addresses": [
- {
- "address": "string"
}
], - "phones": [
- {
- "number": "string"
}
], - "birth_date": null,
- "birth_place": "string",
- "personal_identity": "string",
- "last_education": "string",
- "employee_marital_status_id": 0,
- "marital_status": "string",
- "married_with": "string",
- "employee_group_id": 0,
- "employee_group_name": "string",
- "job_title": "string",
- "join_date": null,
- "resign_date": null,
- "code": "string",
- "status": "string",
- "job_location": "string",
- "daily_transport_allowance": "string",
- "functional_allowance": "string",
- "communication_allowance": "string",
- "company_emails": [
- {
- "email": "string"
}
], - "social_media": [
- {
- "account": "string",
- "type": "string"
}
], - "contracts": [
- {
- "contract_begin": null,
- "contract_end": null,
- "contract_due_date": null,
- "notes": "string"
}
], - "salary_histories": [
- {
- "date": null,
- "salary": 0
}
], - "scorers": [
- {
- "id": 0,
- "name": "string"
}
], - "reviewers": [
- {
- "id": 0,
- "name": "string"
}
], - "attachments": [
- { }
], - "errors": [
- { }
], - "employee_gender_id": 0,
- "employee_religion_id": 0,
- "employee_status_id": 0,
- "user_id": 0
}{- "data": {
- "id": 14,
- "code": "121314",
- "tax_identification_number": null,
- "name": "John Doe",
- "address": null,
- "city": null,
- "state": null,
- "country": null,
- "zip_code": null,
- "latitude": null,
- "longitude": null,
- "phone": null,
- "phone_cc": null,
- "email": null,
- "bpjs": null,
- "resign_date": null,
- "personal_identity": "A001",
- "last_education": null,
- "birth_date": "2021-11-11",
- "birth_place": "Lorem Ipsum",
- "employee_gender_id": 1,
- "employee_marital_status_id": 1,
- "married_with": null,
- "employee_religion_id": 1,
- "employee_group_id": 1,
- "employee_status_id": 1,
- "employee_job_location_id": 1,
- "join_date": "2022-11-11 00:00:00",
- "job_title": "HR",
- "kpi_template_id": 17,
- "notes": null,
- "daily_transport_allowance": 0,
- "functional_allowance": 0,
- "communication_allowance": 0,
- "branch_id": null,
- "user_id": 1,
- "created_by": 1,
- "updated_by": 1,
- "archived_by": null,
- "created_at": "2022-11-11 00:50:50",
- "updated_at": "2022-12-27 02:12:48",
- "archived_at": null,
- "label": "[121314] John Doe",
- "group": {
- "id": 1,
- "name": "devOps",
- "created_by": 1,
- "updated_by": 1,
- "created_at": "2022-10-11 05:06:46",
- "updated_at": "2022-10-11 05:06:46"
}, - "gender": {
- "id": 1,
- "name": "Male",
- "created_by": null,
- "updated_by": null,
- "created_at": "2022-12-27 02:17:58",
- "updated_at": "2022-12-27 02:17:58"
}, - "religion": {
- "id": 1,
- "name": "Christian",
- "created_by": null,
- "updated_by": null,
- "created_at": "2022-12-27 02:17:58",
- "updated_at": "2022-12-27 02:17:58"
}, - "marital_status": {
- "id": 1,
- "name": "Single",
- "created_by": null,
- "updated_by": null,
- "created_at": "2022-12-27 02:17:58",
- "updated_at": "2022-12-27 02:17:58"
}, - "company_emails": [
- {
- "id": 13,
- "employee_id": 14,
- "email": "john.doe@mail.com",
- "is_main": 0,
- "created_by": 1,
- "updated_by": 1,
- "created_at": "2022-11-11 00:50:50",
- "updated_at": "2022-11-11 00:50:50"
}
], - "social_media": [
- {
- "id": 1,
- "employee_id": 14,
- "type": "Facebook",
- "account": "fb",
- "created_by": 1,
- "updated_by": 1,
- "created_at": "2022-12-27 02:12:48",
- "updated_at": "2022-12-27 02:12:48"
}
], - "contracts": [
- {
- "id": 13,
- "employee_id": 14,
- "contract_begin": "2021-11-10 17:00:00",
- "contract_end": "2022-11-10 17:00:00",
- "contract_due_date": "2022-11-03 17:00:00",
- "link": "",
- "notes": "call my name JD",
- "created_by": 1,
- "updated_by": 1,
- "created_at": "2022-11-11 00:50:50",
- "updated_at": "2022-11-11 00:50:50"
}
], - "salary_histories": [
- {
- "id": 1,
- "employee_id": 14,
- "date": "2022-12-30 00:00:00",
- "salary": 10000000,
- "created_by": 1,
- "updated_by": 1,
- "created_at": "2022-12-27 02:12:48",
- "updated_at": "2022-12-27 02:12:48"
}
], - "kpi_template": {
- "id": 17,
- "name": "shxlQaW",
- "created_by": 1,
- "updated_by": 1,
- "archived_by": null,
- "created_at": "2022-11-07 14:12:40",
- "updated_at": "2022-11-07 14:12:40",
- "archived_at": null
}, - "scorers": [
- {
- "id": 1,
- "name": "admin",
- "first_name": "admin",
- "last_name": "admin",
- "address": null,
- "phone": null,
- "email": "ans.cool.06@gmail.com",
- "created_at": "2022-07-17 14:33:57",
- "updated_at": "2022-07-17 14:33:57",
- "branch_id": null,
- "warehouse_id": null,
- "full_name": "admin admin",
- "pivot": {
- "employee_id": 14,
- "user_id": 1
}
}
], - "reviewers": [
- {
- "id": 1,
- "name": "admin",
- "first_name": "admin",
- "last_name": "admin",
- "address": null,
- "phone": null,
- "email": "ans.cool.06@gmail.com",
- "created_at": "2022-07-17 14:33:57",
- "updated_at": "2022-07-17 14:33:57",
- "branch_id": null,
- "warehouse_id": null,
- "full_name": "admin admin",
- "pivot": {
- "employee_id": 14,
- "user_id": 1
}
}
], - "emails": [
- {
- "id": 36,
- "label": null,
- "email": "john.doe@mail.com",
- "is_main": 0,
- "emailable_id": 14,
- "emailable_type": "Employee",
- "created_by": 1,
- "updated_by": 1,
- "created_at": "2022-12-27 02:12:48",
- "updated_at": "2022-12-27 02:12:48"
}
], - "addresses": [
- {
- "id": 36,
- "label": null,
- "address": "Lorem Ipsum",
- "city": null,
- "state": null,
- "country": null,
- "zip_code": null,
- "latitude": null,
- "longitude": null,
- "is_main": 0,
- "addressable_id": 14,
- "addressable_type": "Employee",
- "created_by": 1,
- "updated_by": 1,
- "created_at": "2022-12-27 02:12:48",
- "updated_at": "2022-12-27 02:12:48"
}
], - "phones": [
- {
- "id": 36,
- "label": null,
- "country_code": null,
- "number": 8123456789,
- "is_main": 0,
- "phoneable_id": 14,
- "phoneable_type": "Employee",
- "created_by": 1,
- "updated_by": 1,
- "created_at": "2022-12-27 02:12:48",
- "updated_at": "2022-12-27 02:12:48"
}
], - "status": {
- "id": 1,
- "name": "ACTIVE",
- "created_by": 1,
- "updated_by": 1,
- "created_at": "2022-10-11 05:10:58",
- "updated_at": "2022-10-11 05:10:58"
}, - "job_location": {
- "id": 1,
- "name": "surabaya-21",
- "base_salary": "21.000000000000000000000000000000",
- "multiplier_kpi": "1.000000000000000000000000000000",
- "created_by": 1,
- "updated_by": 1,
- "created_at": "2022-10-11 05:09:18",
- "updated_at": "2022-11-04 18:14:16"
}, - "user": {
- "id": 1,
- "name": "admin",
- "first_name": "admin",
- "last_name": "admin",
- "address": null,
- "phone": null,
- "email": "ans.cool.06@gmail.com",
- "created_at": "2022-07-17 14:33:57",
- "updated_at": "2022-07-17 14:33:57",
- "branch_id": null,
- "warehouse_id": null,
- "full_name": "admin admin"
}
}
}{- "data": {
- "id": 14,
- "code": "121314",
- "tax_identification_number": null,
- "name": "John Doe",
- "address": null,
- "city": null,
- "state": null,
- "country": null,
- "zip_code": null,
- "latitude": null,
- "longitude": null,
- "phone": null,
- "phone_cc": null,
- "email": null,
- "bpjs": null,
- "resign_date": null,
- "personal_identity": "A001",
- "last_education": null,
- "birth_date": "2021-11-11",
- "birth_place": "Lorem Ipsum",
- "employee_gender_id": 1,
- "employee_marital_status_id": 1,
- "married_with": null,
- "employee_religion_id": 1,
- "employee_group_id": 1,
- "employee_status_id": 1,
- "employee_job_location_id": 1,
- "join_date": "2022-11-11 00:00:00",
- "job_title": "HR",
- "kpi_template_id": 17,
- "notes": null,
- "daily_transport_allowance": 0,
- "functional_allowance": 0,
- "communication_allowance": 0,
- "branch_id": null,
- "user_id": 1,
- "created_by": 1,
- "updated_by": 1,
- "archived_by": null,
- "created_at": "2022-11-11 00:50:50",
- "updated_at": "2022-12-27 02:12:48",
- "archived_at": null,
- "label": "[121314] John Doe",
- "group": {
- "id": 1,
- "name": "devOps",
- "created_by": 1,
- "updated_by": 1,
- "created_at": "2022-10-11 05:06:46",
- "updated_at": "2022-10-11 05:06:46"
}, - "gender": {
- "id": 1,
- "name": "Male",
- "created_by": null,
- "updated_by": null,
- "created_at": "2022-12-27 02:17:58",
- "updated_at": "2022-12-27 02:17:58"
}, - "religion": {
- "id": 1,
- "name": "Christian",
- "created_by": null,
- "updated_by": null,
- "created_at": "2022-12-27 02:17:58",
- "updated_at": "2022-12-27 02:17:58"
}, - "marital_status": {
- "id": 1,
- "name": "Single",
- "created_by": null,
- "updated_by": null,
- "created_at": "2022-12-27 02:17:58",
- "updated_at": "2022-12-27 02:17:58"
}, - "company_emails": [
- {
- "id": 13,
- "employee_id": 14,
- "email": "john.doe@mail.com",
- "is_main": 0,
- "created_by": 1,
- "updated_by": 1,
- "created_at": "2022-11-11 00:50:50",
- "updated_at": "2022-11-11 00:50:50"
}
], - "social_media": [
- {
- "id": 1,
- "employee_id": 14,
- "type": "Facebook",
- "account": "fb",
- "created_by": 1,
- "updated_by": 1,
- "created_at": "2022-12-27 02:12:48",
- "updated_at": "2022-12-27 02:12:48"
}
], - "contracts": [
- {
- "id": 13,
- "employee_id": 14,
- "contract_begin": "2021-11-10 17:00:00",
- "contract_end": "2022-11-10 17:00:00",
- "contract_due_date": "2022-11-03 17:00:00",
- "link": "",
- "notes": "call my name JD",
- "created_by": 1,
- "updated_by": 1,
- "created_at": "2022-11-11 00:50:50",
- "updated_at": "2022-11-11 00:50:50"
}
], - "salary_histories": [
- {
- "id": 1,
- "employee_id": 14,
- "date": "2022-12-30 00:00:00",
- "salary": 10000000,
- "created_by": 1,
- "updated_by": 1,
- "created_at": "2022-12-27 02:12:48",
- "updated_at": "2022-12-27 02:12:48"
}
], - "kpi_template": {
- "id": 17,
- "name": "shxlQaW",
- "created_by": 1,
- "updated_by": 1,
- "archived_by": null,
- "created_at": "2022-11-07 14:12:40",
- "updated_at": "2022-11-07 14:12:40",
- "archived_at": null
}, - "scorers": [
- {
- "id": 1,
- "name": "admin",
- "first_name": "admin",
- "last_name": "admin",
- "address": null,
- "phone": null,
- "email": "ans.cool.06@gmail.com",
- "created_at": "2022-07-17 14:33:57",
- "updated_at": "2022-07-17 14:33:57",
- "branch_id": null,
- "warehouse_id": null,
- "full_name": "admin admin",
- "pivot": {
- "employee_id": 14,
- "user_id": 1
}
}
], - "reviewers": [
- {
- "id": 1,
- "name": "admin",
- "first_name": "admin",
- "last_name": "admin",
- "address": null,
- "phone": null,
- "email": "ans.cool.06@gmail.com",
- "created_at": "2022-07-17 14:33:57",
- "updated_at": "2022-07-17 14:33:57",
- "branch_id": null,
- "warehouse_id": null,
- "full_name": "admin admin",
- "pivot": {
- "employee_id": 14,
- "user_id": 1
}
}
], - "emails": [
- {
- "id": 36,
- "label": null,
- "email": "john.doe@mail.com",
- "is_main": 0,
- "emailable_id": 14,
- "emailable_type": "Employee",
- "created_by": 1,
- "updated_by": 1,
- "created_at": "2022-12-27 02:12:48",
- "updated_at": "2022-12-27 02:12:48"
}
], - "addresses": [
- {
- "id": 36,
- "label": null,
- "address": "Lorem Ipsum",
- "city": null,
- "state": null,
- "country": null,
- "zip_code": null,
- "latitude": null,
- "longitude": null,
- "is_main": 0,
- "addressable_id": 14,
- "addressable_type": "Employee",
- "created_by": 1,
- "updated_by": 1,
- "created_at": "2022-12-27 02:12:48",
- "updated_at": "2022-12-27 02:12:48"
}
], - "phones": [
- {
- "id": 36,
- "label": null,
- "country_code": null,
- "number": 8123456789,
- "is_main": 0,
- "phoneable_id": 14,
- "phoneable_type": "Employee",
- "created_by": 1,
- "updated_by": 1,
- "created_at": "2022-12-27 02:12:48",
- "updated_at": "2022-12-27 02:12:48"
}
], - "status": {
- "id": 1,
- "name": "ACTIVE",
- "created_by": 1,
- "updated_by": 1,
- "created_at": "2022-10-11 05:10:58",
- "updated_at": "2022-10-11 05:10:58"
}, - "job_location": {
- "id": 1,
- "name": "surabaya-21",
- "base_salary": "21.000000000000000000000000000000",
- "multiplier_kpi": "1.000000000000000000000000000000",
- "created_by": 1,
- "updated_by": 1,
- "created_at": "2022-10-11 05:09:18",
- "updated_at": "2022-11-04 18:14:16"
}, - "user": {
- "id": 1,
- "name": "admin",
- "first_name": "admin",
- "last_name": "admin",
- "address": null,
- "phone": null,
- "email": "ans.cool.06@gmail.com",
- "created_at": "2022-07-17 14:33:57",
- "updated_at": "2022-07-17 14:33:57",
- "branch_id": null,
- "warehouse_id": null,
- "full_name": "admin admin"
}
}
}| id required | string Example: 2 employee id |
| name required | string |
| tax_identification_number | string |
| bpjs | string |
Array of objects | |
Array of objects | |
Array of objects | |
| birth_date | date |
| birth_place | string |
| personal_identity | string |
| last_education | string |
| employee_marital_status_id | integer |
| marital_status | string |
| married_with | string |
| employee_group_id | integer |
| employee_group_name | string |
| job_title | string |
| join_date | date |
| resign_date | date |
| code | string |
| status | string |
| job_location | string |
| daily_transport_allowance | string |
| functional_allowance | string |
| communication_allowance | string |
Array of objects | |
Array of objects | |
Array of objects | |
Array of objects | |
Array of objects | |
| attachments | Array of objects |
| errors | Array of objects |
| employee_gender_id | integer |
| employee_religion_id | integer |
| employee_status_id | integer |
| user_id | integer |
{- "name": "string",
- "tax_identification_number": "string",
- "bpjs": "string",
- "emails": [
- {
- "email": "string"
}
], - "addresses": [
- {
- "address": "string"
}
], - "phones": [
- {
- "number": "string"
}
], - "birth_date": null,
- "birth_place": "string",
- "personal_identity": "string",
- "last_education": "string",
- "employee_marital_status_id": 0,
- "marital_status": "string",
- "married_with": "string",
- "employee_group_id": 0,
- "employee_group_name": "string",
- "job_title": "string",
- "join_date": null,
- "resign_date": null,
- "code": "string",
- "status": "string",
- "job_location": "string",
- "daily_transport_allowance": "string",
- "functional_allowance": "string",
- "communication_allowance": "string",
- "company_emails": [
- {
- "email": "string"
}
], - "social_media": [
- {
- "account": "string",
- "type": "string"
}
], - "contracts": [
- {
- "contract_begin": null,
- "contract_end": null,
- "notes": "string"
}
], - "salary_histories": [
- {
- "date": null,
- "salary": 0
}
], - "scorers": [
- {
- "id": 0,
- "name": "string"
}
], - "attachments": [
- { }
], - "errors": [
- { }
], - "employee_gender_id": 0,
- "employee_religion_id": 0,
- "employee_status_id": 0,
- "user_id": 0
}{- "data": {
- "id": 14,
- "code": "121314",
- "tax_identification_number": null,
- "name": "John Doe",
- "address": null,
- "city": null,
- "state": null,
- "country": null,
- "zip_code": null,
- "latitude": null,
- "longitude": null,
- "phone": null,
- "phone_cc": null,
- "email": null,
- "bpjs": null,
- "resign_date": null,
- "personal_identity": "A001",
- "last_education": null,
- "birth_date": "2021-11-11",
- "birth_place": "Lorem Ipsum",
- "employee_gender_id": 1,
- "employee_marital_status_id": 1,
- "married_with": null,
- "employee_religion_id": 1,
- "employee_group_id": 1,
- "employee_status_id": 1,
- "employee_job_location_id": 1,
- "join_date": "2022-11-11 00:00:00",
- "job_title": "HR",
- "kpi_template_id": 17,
- "notes": null,
- "daily_transport_allowance": 0,
- "functional_allowance": 0,
- "communication_allowance": 0,
- "branch_id": null,
- "user_id": 1,
- "created_by": 1,
- "updated_by": 1,
- "archived_by": null,
- "created_at": "2022-11-11 00:50:50",
- "updated_at": "2022-12-27 02:12:48",
- "archived_at": null,
- "label": "[121314] John Doe",
- "group": {
- "id": 1,
- "name": "devOps",
- "created_by": 1,
- "updated_by": 1,
- "created_at": "2022-10-11 05:06:46",
- "updated_at": "2022-10-11 05:06:46"
}, - "gender": {
- "id": 1,
- "name": "Male",
- "created_by": null,
- "updated_by": null,
- "created_at": "2022-12-27 02:17:58",
- "updated_at": "2022-12-27 02:17:58"
}, - "religion": {
- "id": 1,
- "name": "Christian",
- "created_by": null,
- "updated_by": null,
- "created_at": "2022-12-27 02:17:58",
- "updated_at": "2022-12-27 02:17:58"
}, - "marital_status": {
- "id": 1,
- "name": "Single",
- "created_by": null,
- "updated_by": null,
- "created_at": "2022-12-27 02:17:58",
- "updated_at": "2022-12-27 02:17:58"
}, - "company_emails": [
- {
- "id": 13,
- "employee_id": 14,
- "email": "john.doe@mail.com",
- "is_main": 0,
- "created_by": 1,
- "updated_by": 1,
- "created_at": "2022-11-11 00:50:50",
- "updated_at": "2022-11-11 00:50:50"
}
], - "social_media": [
- {
- "id": 1,
- "employee_id": 14,
- "type": "Facebook",
- "account": "fb",
- "created_by": 1,
- "updated_by": 1,
- "created_at": "2022-12-27 02:12:48",
- "updated_at": "2022-12-27 02:12:48"
}
], - "contracts": [
- {
- "id": 13,
- "employee_id": 14,
- "contract_begin": "2021-11-10 17:00:00",
- "contract_end": "2022-11-10 17:00:00",
- "contract_due_date": "2022-11-03 17:00:00",
- "link": "",
- "notes": "call my name JD",
- "created_by": 1,
- "updated_by": 1,
- "created_at": "2022-11-11 00:50:50",
- "updated_at": "2022-11-11 00:50:50"
}
], - "salary_histories": [
- {
- "id": 1,
- "employee_id": 14,
- "date": "2022-12-30 00:00:00",
- "salary": 10000000,
- "created_by": 1,
- "updated_by": 1,
- "created_at": "2022-12-27 02:12:48",
- "updated_at": "2022-12-27 02:12:48"
}
], - "kpi_template": {
- "id": 17,
- "name": "shxlQaW",
- "created_by": 1,
- "updated_by": 1,
- "archived_by": null,
- "created_at": "2022-11-07 14:12:40",
- "updated_at": "2022-11-07 14:12:40",
- "archived_at": null
}, - "scorers": [
- {
- "id": 1,
- "name": "admin",
- "first_name": "admin",
- "last_name": "admin",
- "address": null,
- "phone": null,
- "email": "ans.cool.06@gmail.com",
- "created_at": "2022-07-17 14:33:57",
- "updated_at": "2022-07-17 14:33:57",
- "branch_id": null,
- "warehouse_id": null,
- "full_name": "admin admin",
- "pivot": {
- "employee_id": 14,
- "user_id": 1
}
}
], - "reviewers": [
- {
- "id": 1,
- "name": "admin",
- "first_name": "admin",
- "last_name": "admin",
- "address": null,
- "phone": null,
- "email": "ans.cool.06@gmail.com",
- "created_at": "2022-07-17 14:33:57",
- "updated_at": "2022-07-17 14:33:57",
- "branch_id": null,
- "warehouse_id": null,
- "full_name": "admin admin",
- "pivot": {
- "employee_id": 14,
- "user_id": 1
}
}
], - "emails": [
- {
- "id": 36,
- "label": null,
- "email": "john.doe@mail.com",
- "is_main": 0,
- "emailable_id": 14,
- "emailable_type": "Employee",
- "created_by": 1,
- "updated_by": 1,
- "created_at": "2022-12-27 02:12:48",
- "updated_at": "2022-12-27 02:12:48"
}
], - "addresses": [
- {
- "id": 36,
- "label": null,
- "address": "Lorem Ipsum",
- "city": null,
- "state": null,
- "country": null,
- "zip_code": null,
- "latitude": null,
- "longitude": null,
- "is_main": 0,
- "addressable_id": 14,
- "addressable_type": "Employee",
- "created_by": 1,
- "updated_by": 1,
- "created_at": "2022-12-27 02:12:48",
- "updated_at": "2022-12-27 02:12:48"
}
], - "phones": [
- {
- "id": 36,
- "label": null,
- "country_code": null,
- "number": 8123456789,
- "is_main": 0,
- "phoneable_id": 14,
- "phoneable_type": "Employee",
- "created_by": 1,
- "updated_by": 1,
- "created_at": "2022-12-27 02:12:48",
- "updated_at": "2022-12-27 02:12:48"
}
], - "status": {
- "id": 1,
- "name": "ACTIVE",
- "created_by": 1,
- "updated_by": 1,
- "created_at": "2022-10-11 05:10:58",
- "updated_at": "2022-10-11 05:10:58"
}, - "job_location": {
- "id": 1,
- "name": "surabaya-21",
- "base_salary": "21.000000000000000000000000000000",
- "multiplier_kpi": "1.000000000000000000000000000000",
- "created_by": 1,
- "updated_by": 1,
- "created_at": "2022-10-11 05:09:18",
- "updated_at": "2022-11-04 18:14:16"
}, - "user": {
- "id": 1,
- "name": "admin",
- "first_name": "admin",
- "last_name": "admin",
- "address": null,
- "phone": null,
- "email": "ans.cool.06@gmail.com",
- "created_at": "2022-07-17 14:33:57",
- "updated_at": "2022-07-17 14:33:57",
- "branch_id": null,
- "warehouse_id": null,
- "full_name": "admin admin"
}
}
}| sort_by | string Example: sort_by=name |
| filter_like | string Example: name=john |
| limit | integer Example: limit=10 |
| page | integer Example: page=1 |
{- "data": [
- {
- "id": 1,
- "name": "group one",
- "created_by": 1,
- "updated_by": 1,
- "created_at": "2022-11-29 15:54:36",
- "updated_at": "2022-11-30 10:33:50"
}
], - "links": {
- "prev": null,
}, - "meta": {
- "current_page": 1,
- "from": 1,
- "last_page": 2,
- "per_page": "10",
- "to": 10,
- "total": 11
}
}{- "name": "group new"
}{- "data": {
- "name": "group one",
- "created_by": 1,
- "updated_by": 1,
- "created_at": "2022-11-29 15:54:36",
- "updated_at": "2022-11-30 10:33:50"
}
}| id required | string Example: 2 employee group id |
| name required | string |
{- "name": "group update"
}{- "data": {
- "name": "group one",
- "created_by": 1,
- "updated_by": 1,
- "created_at": "2022-11-29 15:54:36",
- "updated_at": "2022-11-30 10:33:50"
}
}| sort_by | string Example: sort_by=name |
| filter_like | string Example: name=john |
| limit | integer Example: limit=10 |
| page | integer Example: page=1 |
{- "data": [
- {
- "id": 1,
- "name": "jakarta",
- "base_salary": "123.000000000000000000000000000000",
- "multiplier_kpi": "123.000000000000000000000000000000",
- "created_by": 1,
- "updated_by": 1,
- "created_at": "2022-11-04 18:30:10",
- "updated_at": "2022-11-04 18:30:10"
}
], - "links": {
- "prev": null,
}, - "meta": {
- "current_page": 1,
- "from": 1,
- "last_page": 2,
- "per_page": "10",
- "to": 10,
- "total": 11
}
}| name required | string |
| base_salary required | string |
| multiplier_kpi required | string |
{- "name": "surabaya",
- "base_salary": "4000",
- "multiplier_kpi": "100"
}{- "data": {
- "id": 2,
- "name": "surabaya",
- "base_salary": "4000.000000000000000000000000000000",
- "multiplier_kpi": "100.000000000000000000000000000000",
- "created_by": 1,
- "updated_by": 1,
- "created_at": "2022-11-29 15:54:36",
- "updated_at": "2022-11-30 10:33:50"
}
}| id required | any Example: 2 employee job location id |
{- "data": {
- "id": 2,
- "name": "surabaya",
- "base_salary": "4000.000000000000000000000000000000",
- "multiplier_kpi": "100.000000000000000000000000000000",
- "created_by": 1,
- "updated_by": 1,
- "created_at": "2022-11-29 15:54:36",
- "updated_at": "2022-11-30 10:33:50"
}
}| id required | string Example: 2 employee job location id |
| name required | string |
| base_salary required | string |
| multiplier_kpi required | string |
{- "name": "surabaya",
- "base_salary": "4000",
- "multiplier_kpi": "100"
}{- "data": {
- "id": 2,
- "name": "surabaya",
- "base_salary": "4000.000000000000000000000000000000",
- "multiplier_kpi": "100.000000000000000000000000000000",
- "created_by": 1,
- "updated_by": 1,
- "created_at": "2022-11-29 15:54:36",
- "updated_at": "2022-11-30 10:33:50"
}
}| sort_by | string Example: sort_by=name |
| filter_like | string Example: name=john |
| limit | integer Example: limit=10 |
| page | integer Example: page=1 |
{- "data": [
- {
- "id": 1,
- "name": "status one",
- "created_by": 1,
- "updated_by": 1,
- "created_at": "2022-11-29 15:54:36",
- "updated_at": "2022-11-30 10:33:50"
}
], - "links": {
- "prev": null,
}, - "meta": {
- "current_page": 1,
- "from": 1,
- "last_page": 2,
- "per_page": "10",
- "to": 10,
- "total": 11
}
}{- "name": "status new"
}{- "data": {
- "name": "active",
- "created_by": 1,
- "updated_by": 1,
- "created_at": "2022-11-29 15:54:36",
- "updated_at": "2022-11-30 10:33:50"
}
}| id required | string Example: 2 employee status id |
| name required | string |
{- "name": "status update"
}{- "data": {
- "name": "active",
- "created_by": 1,
- "updated_by": 1,
- "created_at": "2022-11-29 15:54:36",
- "updated_at": "2022-11-30 10:33:50"
}
}| limit | integer Example: limit=10 |
| page | integer Example: page=1 |
{- "data": [
- {
- "id": 74,
- "name": "template",
- "created_by": 1,
- "updated_by": 1,
- "archived_by": null,
- "created_at": "2022-12-26 06:30:39",
- "updated_at": "2022-12-26 06:30:39",
- "archived_at": null,
- "target": "0",
- "weight": "0.00",
- "groups": [
- {
- "id": 74,
- "kpi_template_id": 74,
- "name": "gr",
- "created_by": 1,
- "updated_by": 1,
- "created_at": "2022-12-26 06:30:39",
- "updated_at": "2022-12-26 06:30:39",
- "target": 0,
- "weight": 0,
- "indicators": [
- {
- "id": 70,
- "kpi_template_group_id": 74,
- "name": "Irma Robertson",
- "weight": "0.00",
- "target": 0,
- "automated_code": null,
- "created_by": 1,
- "updated_by": 1,
- "created_at": "2022-12-26 06:30:39",
- "updated_at": "2022-12-26 06:30:39",
- "scores": [
- {
- "id": 16,
- "kpi_template_indicator_id": 70,
- "description": "Ea corrupti recusan",
- "score": 0,
- "created_by": 1,
- "updated_by": 1,
- "created_at": "2022-12-26 06:30:39",
- "updated_at": "2022-12-26 06:30:39"
}
]
}
]
}
]
}
], - "links": {
- "prev": null,
}, - "meta": {
- "current_page": 1,
- "from": 1,
- "last_page": 2,
- "per_page": "10",
- "to": 10,
- "total": 11
}
}{- "name": "template"
}{- "data": {
- "id": 74,
- "name": "template",
- "created_by": 1,
- "updated_by": 1,
- "archived_by": null,
- "created_at": "2022-12-26 06:30:39",
- "updated_at": "2022-12-26 06:30:39",
- "archived_at": null,
- "target": "0",
- "weight": "0.00",
- "groups": [ ]
}
}{- "data": {
- "id": 74,
- "name": "template",
- "created_by": 1,
- "updated_by": 1,
- "archived_by": null,
- "created_at": "2022-12-26 06:30:39",
- "updated_at": "2022-12-26 06:30:39",
- "archived_at": null,
- "target": "0",
- "weight": "0.00",
- "groups": [ ]
}
}| id required | string Example: 2 kpi tempalte id |
| name required | string |
{- "name": "template"
}{- "data": {
- "id": 74,
- "name": "template",
- "created_by": 1,
- "updated_by": 1,
- "archived_by": null,
- "created_at": "2022-12-26 06:30:39",
- "updated_at": "2022-12-26 06:30:39",
- "archived_at": null,
- "target": "0",
- "weight": "0.00",
- "groups": [ ]
}
}{- "data": {
- "id": 74,
- "name": "template",
- "created_by": 1,
- "updated_by": 1,
- "archived_by": null,
- "created_at": "2022-12-26 06:30:39",
- "updated_at": "2022-12-26 06:30:39",
- "archived_at": null,
- "target": "0",
- "weight": "0.00",
- "groups": [ ]
}
}{- "data": {
- "id": 74,
- "name": "template",
- "created_by": 1,
- "updated_by": 1,
- "archived_by": null,
- "created_at": "2022-12-26 06:30:39",
- "updated_at": "2022-12-26 06:30:39",
- "archived_at": null,
- "target": "0",
- "weight": "0.00",
- "groups": [ ]
}
}{- "data": {
- "id": 74,
- "name": "template",
- "created_by": 1,
- "updated_by": 1,
- "archived_by": null,
- "created_at": "2022-12-26 06:30:39",
- "updated_at": "2022-12-26 06:30:39",
- "archived_at": null,
- "target": "0",
- "weight": "0.00",
- "groups": [ ]
}
}| kpi_template_id required | integer |
{- "kpi_template_id": "1"
}{- "data": {
- "id": 74,
- "name": "template",
- "created_by": 1,
- "updated_by": 1,
- "archived_by": null,
- "created_at": "2022-12-26 06:30:39",
- "updated_at": "2022-12-26 06:30:39",
- "archived_at": null,
- "target": "0",
- "weight": "0.00",
- "groups": [ ]
}
}| group_id required | integer |
| template_id required | integer |
{- "group_id": "1",
- "template_id": "1"
}{- "data": {
- "id": 74,
- "name": "template",
- "created_by": 1,
- "updated_by": 1,
- "archived_by": null,
- "created_at": "2022-12-26 06:30:39",
- "updated_at": "2022-12-26 06:30:39",
- "archived_at": null,
- "target": "0",
- "weight": "0.00",
- "groups": [ ]
}
}{- "id": "1"
}{
}{- "data": [
- {
- "id": 74,
- "kpi_template_id": 74,
- "name": "gr",
- "created_by": 1,
- "updated_by": 1,
- "created_at": "2022-12-26 06:30:39",
- "updated_at": "2022-12-26 06:30:39",
- "target": 0,
- "weight": 0,
- "indicators": [
- {
- "id": 70,
- "kpi_template_group_id": 74,
- "name": "Irma Robertson",
- "weight": "0.00",
- "target": 0,
- "automated_code": null,
- "created_by": 1,
- "updated_by": 1,
- "created_at": "2022-12-26 06:30:39",
- "updated_at": "2022-12-26 06:30:39",
- "scores": [
- {
- "id": 16,
- "kpi_template_indicator_id": 70,
- "description": "Ea corrupti recusan",
- "score": 0,
- "created_by": 1,
- "updated_by": 1,
- "created_at": "2022-12-26 06:30:39",
- "updated_at": "2022-12-26 06:30:39"
}
]
}
]
}
], - "links": {
- "prev": null,
}, - "meta": {
- "current_page": 1,
- "from": 1,
- "last_page": 2,
- "per_page": "10",
- "to": 10,
- "total": 11
}
}| name required | string |
| kpi_template_id required | integer |
{- "name": "template",
- "kpi_template_id": 1
}{- "data": {
- "id": 74,
- "kpi_template_id": 74,
- "name": "gr",
- "created_by": 1,
- "updated_by": 1,
- "created_at": "2022-12-26 06:30:39",
- "updated_at": "2022-12-26 06:30:39",
- "target": 0,
- "weight": 0,
- "indicators": [ ]
}
}{- "data": {
- "id": 74,
- "kpi_template_id": 74,
- "name": "gr",
- "created_by": 1,
- "updated_by": 1,
- "created_at": "2022-12-26 06:30:39",
- "updated_at": "2022-12-26 06:30:39",
- "target": 0,
- "weight": 0,
- "indicators": [ ]
}
}| id required | string Example: 2 kpi tempalte group id |
| name required | string |
| kpi_template_id required | integer |
{- "name": "template",
- "kpi_template_id": 1
}{- "data": {
- "id": 74,
- "kpi_template_id": 74,
- "name": "gr",
- "created_by": 1,
- "updated_by": 1,
- "created_at": "2022-12-26 06:30:39",
- "updated_at": "2022-12-26 06:30:39",
- "target": 0,
- "weight": 0,
- "indicators": [ ]
}
}| kpi_template_group_id | integer Example: kpi_template_group_id=1 |
{- "data": [
- {
- "id": 70,
- "kpi_template_group_id": 74,
- "name": "Irma Robertson",
- "weight": "0.00",
- "target": 0,
- "automated_code": null,
- "created_by": 1,
- "updated_by": 1,
- "created_at": "2022-12-26 06:30:39",
- "updated_at": "2022-12-26 06:30:39",
- "scores": [
- {
- "id": 16,
- "kpi_template_indicator_id": 70,
- "description": "Ea corrupti recusan",
- "score": 0,
- "created_by": 1,
- "updated_by": 1,
- "created_at": "2022-12-26 06:30:39",
- "updated_at": "2022-12-26 06:30:39"
}
]
}
], - "links": {
- "prev": null,
}, - "meta": {
- "current_page": 1,
- "from": 1,
- "last_page": 2,
- "per_page": "10",
- "to": 10,
- "total": 11
}
}| name required | string |
| kpi_template_group_id required | integer |
| weight required | string |
| target required | string |
{- "name": "template",
- "kpi_template_group_id": 1,
- "weight": "100",
- "target": "100"
}{- "data": {
- "id": 70,
- "kpi_template_group_id": 74,
- "name": "Irma Robertson",
- "weight": "0.00",
- "target": 0,
- "automated_code": null,
- "created_by": 1,
- "updated_by": 1,
- "created_at": "2022-12-26 06:30:39",
- "updated_at": "2022-12-26 06:30:39",
- "scores": [ ]
}
}| id required | any Example: 2 kpi tempalte indicator id |
{- "data": {
- "id": 70,
- "kpi_template_group_id": 74,
- "name": "Irma Robertson",
- "weight": "0.00",
- "target": 0,
- "automated_code": null,
- "created_by": 1,
- "updated_by": 1,
- "created_at": "2022-12-26 06:30:39",
- "updated_at": "2022-12-26 06:30:39",
- "scores": [ ]
}
}| id required | string Example: 2 kpi tempalte indicator id |
| name required | string |
| kpi_template_group_id required | integer |
| weight required | string |
| target required | string |
{- "name": "template",
- "kpi_template_group_id": 1,
- "weight": "100",
- "target": "100"
}{- "data": {
- "id": 70,
- "kpi_template_group_id": 74,
- "name": "Irma Robertson",
- "weight": "0.00",
- "target": 0,
- "automated_code": null,
- "created_by": 1,
- "updated_by": 1,
- "created_at": "2022-12-26 06:30:39",
- "updated_at": "2022-12-26 06:30:39",
- "scores": [ ]
}
}| kpi_template_indicator_id | integer Example: kpi_template_indicator_id=1 |
{- "data": [
- {
- "id": 16,
- "kpi_template_indicator_id": 70,
- "description": "Ea corrupti recusan",
- "score": 0,
- "created_by": 1,
- "updated_by": 1,
- "created_at": "2022-12-26 06:30:39",
- "updated_at": "2022-12-26 06:30:39"
}
]
}| kpi_template_indicator_id required | integer |
| score | string |
| description | string |
{- "kpi_template_indicator_id": 1,
- "score": "100",
- "description": "lorem ipsum"
}{- "data": {
- "id": 70,
- "kpi_template_group_id": 74,
- "name": "Irma Robertson",
- "weight": "0.00",
- "target": 0,
- "automated_code": null,
- "created_by": 1,
- "updated_by": 1,
- "created_at": "2022-12-26 06:30:39",
- "updated_at": "2022-12-26 06:30:39",
- "scores": [ ]
}
}{- "data": {
- "id": 70,
- "kpi_template_group_id": 74,
- "name": "Irma Robertson",
- "weight": "0.00",
- "target": 0,
- "automated_code": null,
- "created_by": 1,
- "updated_by": 1,
- "created_at": "2022-12-26 06:30:39",
- "updated_at": "2022-12-26 06:30:39",
- "scores": [ ]
}
}| id required | string Example: 2 kpi tempalte score id |
| kpi_template_indicator_id required | integer |
| score | string |
| description | string |
{- "kpi_template_indicator_id": 1,
- "score": "100",
- "description": "lorem ipsum"
}{- "data": {
- "id": 70,
- "kpi_template_group_id": 74,
- "name": "Irma Robertson",
- "weight": "0.00",
- "target": 0,
- "automated_code": null,
- "created_by": 1,
- "updated_by": 1,
- "created_at": "2022-12-26 06:30:39",
- "updated_at": "2022-12-26 06:30:39",
- "scores": [ ]
}
}{- "data": [
- {
- "id": 7,
- "name": "assessment",
- "comment": "",
- "date": "2022-12-26 00:00:00",
- "employee": {
- "id": 1,
- "code": "dev-01",
- "tax_identification_number": "000000000000000",
- "name": "employee one",
- "address": null,
- "city": null,
- "state": null,
- "country": null,
- "zip_code": null,
- "latitude": null,
- "longitude": null,
- "phone": null,
- "phone_cc": null,
- "email": null,
- "bpjs": "000000000000000",
- "resign_date": "2022-01-01 00:00:00",
- "personal_identity": "em01",
- "last_education": "S1",
- "birth_date": "1992-08-05",
- "birth_place": "lamongan",
- "employee_gender_id": 1,
- "employee_marital_status_id": 1,
- "married_with": null,
- "employee_religion_id": 3,
- "employee_group_id": 1,
- "employee_status_id": null,
- "employee_job_location_id": null,
- "join_date": "2022-01-01 00:00:00",
- "job_title": "developer",
- "kpi_template_id": 71,
- "notes": null,
- "daily_transport_allowance": 0,
- "functional_allowance": 0,
- "communication_allowance": 0,
- "branch_id": null,
- "user_id": 1,
- "created_by": 1,
- "updated_by": 1,
- "archived_by": null,
- "created_at": "2022-10-11 12:12:45",
- "updated_at": "2022-12-26 08:44:06",
- "archived_at": null,
- "label": "[dev-01] employee one"
}, - "weight": "0.000000",
- "target": "0.0000",
- "score": "0.0000",
- "status": "DRAFT",
- "score_percentage": 0,
- "scorer": {
- "id": 1,
- "name": "admin",
- "first_name": "admin",
- "last_name": "admin",
- "address": null,
- "phone": null,
- "email": "ans.cool.06@gmail.com",
- "created_at": "2022-07-17 21:33:57",
- "updated_at": "2022-07-17 21:33:57",
- "branch_id": null,
- "warehouse_id": null,
- "full_name": "admin admin"
}, - "groups": [
- {
- "id": 22,
- "kpi_id": 7,
- "name": "gr",
- "weight": 0,
- "target": 0,
- "score": 0,
- "score_percentage": 0,
- "indicators": [
- {
- "id": 52,
- "kpi_group_id": 22,
- "name": "Irma Robertson",
- "weight": "0.00",
- "target": 0,
- "score": 0,
- "notes": "",
- "comment": "kljn",
- "score_percentage": 0,
- "score_description": "",
- "automated_code": null,
- "attachment": "",
- "scores": [
- {
- "id": 51,
- "kpi_indicator_id": 52,
- "description": "Ea corrupti recusan",
- "score": 0,
- "created_at": "2022-12-26T01:27:07.000000Z",
- "updated_at": "2022-12-26T01:27:07.000000Z",
- "status": "DRAFT"
}
]
}
]
}
]
}
], - "meta": {
- "current_page": 1,
- "from": 1,
- "last_page": 2,
- "per_page": "10",
- "to": 10,
- "total": 11
}
}required | object |
required | object |
{- "date": {
- "start": "2022-12-27 00:00:00",
- "end": "2022-12-27 23:59:59"
}, - "template": {
- "id": 71,
- "name": "template",
- "created_by": 1,
- "updated_by": 1,
- "archived_by": null,
- "created_at": "2022-12-24 16:55:39",
- "updated_at": "2022-12-24 16:55:39",
- "archived_at": null,
- "target": 0,
- "weight": "0.00",
- "groups": [
- {
- "id": 71,
- "kpi_template_id": 71,
- "name": "gr",
- "created_by": 1,
- "updated_by": 1,
- "created_at": "2022-12-24 20:44:49",
- "updated_at": "2022-12-24 20:44:49",
- "target": 0,
- "weight": 0,
- "indicators": [
- {
- "id": 67,
- "kpi_template_group_id": 71,
- "name": "Irma Robertson",
- "weight": "0.00",
- "target": 0,
- "automated_code": null,
- "created_by": 1,
- "updated_by": 1,
- "created_at": "2022-12-24 21:39:24",
- "updated_at": "2022-12-24 21:39:24",
- "scores": [
- {
- "id": 13,
- "kpi_template_indicator_id": 67,
- "description": "Ea corrupti recusan",
- "score": 0,
- "created_by": 1,
- "updated_by": 1,
- "created_at": "2022-12-24 21:59:21",
- "updated_at": "2022-12-24 21:59:21"
}
], - "selected": {
- "notes": "lorem ipsum"
}
}
]
}
]
}
}{- "id": 7,
- "name": "cuy",
- "comment": "",
- "date": "2022-12-26 00:00:00",
- "employee": {
- "id": 1,
- "code": "dev-01",
- "tax_identification_number": "000000000000000",
- "name": "employee one",
- "address": null,
- "city": null,
- "state": null,
- "country": null,
- "zip_code": null,
- "latitude": null,
- "longitude": null,
- "phone": null,
- "phone_cc": null,
- "email": null,
- "bpjs": "000000000000000",
- "resign_date": "2022-01-01 00:00:00",
- "personal_identity": "em01",
- "last_education": "S1",
- "birth_date": "1992-08-05",
- "birth_place": "lamongan",
- "employee_gender_id": 1,
- "employee_marital_status_id": 1,
- "married_with": null,
- "employee_religion_id": 3,
- "employee_group_id": 1,
- "employee_status_id": null,
- "employee_job_location_id": null,
- "join_date": "2022-01-01 00:00:00",
- "job_title": "developer",
- "kpi_template_id": 71,
- "notes": null,
- "daily_transport_allowance": 0,
- "functional_allowance": 0,
- "communication_allowance": 0,
- "branch_id": null,
- "user_id": 1,
- "created_by": 1,
- "updated_by": 1,
- "archived_by": null,
- "created_at": "2022-10-11 12:12:45",
- "updated_at": "2022-12-26 08:44:06",
- "archived_at": null,
- "label": "[dev-01] employee one"
}, - "weight": "0.000000",
- "target": 0,
- "score": 0,
- "status": "DRAFT",
- "score_percentage": 0,
- "scorer": {
- "id": 1,
- "name": "admin",
- "first_name": "admin",
- "last_name": "admin",
- "address": null,
- "phone": null,
- "email": "ans.cool.06@gmail.com",
- "created_at": "2022-07-17 21:33:57",
- "updated_at": "2022-07-17 21:33:57",
- "branch_id": null,
- "warehouse_id": null,
- "full_name": "admin admin"
}, - "groups": [
- {
- "id": 22,
- "kpi_id": 7,
- "name": "gr",
- "weight": 0,
- "target": 0,
- "score": 0,
- "score_percentage": 0,
- "indicators": [
- {
- "id": 52,
- "kpi_group_id": 22,
- "name": "Irma Robertson",
- "weight": "0.00",
- "target": 0,
- "score": 0,
- "notes": "",
- "comment": "kljn",
- "score_percentage": 0,
- "score_description": "",
- "automated_code": null,
- "attachment": "",
- "scores": [
- {
- "id": 51,
- "kpi_indicator_id": 52,
- "description": "Ea corrupti recusan",
- "score": 0,
- "created_at": "2022-12-26T01:27:07.000000Z",
- "updated_at": "2022-12-26T01:27:07.000000Z",
- "status": "DRAFT"
}
], - "selected": {
- "comment": "kljn",
- "attachment": "",
- "notes": "cxzcxzcxzcxz"
}
}
]
}
]
}| assessment-id required | any Example: 2 kpi assessment id |
{- "id": 7,
- "name": "cuy",
- "comment": "",
- "date": "2022-12-26 00:00:00",
- "employee": {
- "id": 1,
- "code": "dev-01",
- "tax_identification_number": "000000000000000",
- "name": "employee one",
- "address": null,
- "city": null,
- "state": null,
- "country": null,
- "zip_code": null,
- "latitude": null,
- "longitude": null,
- "phone": null,
- "phone_cc": null,
- "email": null,
- "bpjs": "000000000000000",
- "resign_date": "2022-01-01 00:00:00",
- "personal_identity": "em01",
- "last_education": "S1",
- "birth_date": "1992-08-05",
- "birth_place": "lamongan",
- "employee_gender_id": 1,
- "employee_marital_status_id": 1,
- "married_with": null,
- "employee_religion_id": 3,
- "employee_group_id": 1,
- "employee_status_id": null,
- "employee_job_location_id": null,
- "join_date": "2022-01-01 00:00:00",
- "job_title": "developer",
- "kpi_template_id": 71,
- "notes": null,
- "daily_transport_allowance": 0,
- "functional_allowance": 0,
- "communication_allowance": 0,
- "branch_id": null,
- "user_id": 1,
- "created_by": 1,
- "updated_by": 1,
- "archived_by": null,
- "created_at": "2022-10-11 12:12:45",
- "updated_at": "2022-12-26 08:44:06",
- "archived_at": null,
- "label": "[dev-01] employee one"
}, - "weight": "0.000000",
- "target": 0,
- "score": 0,
- "status": "DRAFT",
- "score_percentage": 0,
- "scorer": {
- "id": 1,
- "name": "admin",
- "first_name": "admin",
- "last_name": "admin",
- "address": null,
- "phone": null,
- "email": "ans.cool.06@gmail.com",
- "created_at": "2022-07-17 21:33:57",
- "updated_at": "2022-07-17 21:33:57",
- "branch_id": null,
- "warehouse_id": null,
- "full_name": "admin admin"
}, - "groups": [
- {
- "id": 22,
- "kpi_id": 7,
- "name": "gr",
- "weight": 0,
- "target": 0,
- "score": 0,
- "score_percentage": 0,
- "indicators": [
- {
- "id": 52,
- "kpi_group_id": 22,
- "name": "Irma Robertson",
- "weight": "0.00",
- "target": 0,
- "score": 0,
- "notes": "",
- "comment": "kljn",
- "score_percentage": 0,
- "score_description": "",
- "automated_code": null,
- "attachment": "",
- "scores": [
- {
- "id": 51,
- "kpi_indicator_id": 52,
- "description": "Ea corrupti recusan",
- "score": 0,
- "created_at": "2022-12-26T01:27:07.000000Z",
- "updated_at": "2022-12-26T01:27:07.000000Z",
- "status": "DRAFT"
}
], - "selected": {
- "comment": "kljn",
- "attachment": "",
- "notes": "cxzcxzcxzcxz"
}
}
]
}
]
}| assessment-id required | string Example: 2 kpi assessment id |
| comment required | string |
required | object |
{- "comment": "lorem ipsum",
- "template": {
- "id": 71,
- "name": "template",
- "created_by": 1,
- "updated_by": 1,
- "archived_by": null,
- "created_at": "2022-12-24 16:55:39",
- "updated_at": "2022-12-24 16:55:39",
- "archived_at": null,
- "target": 0,
- "weight": "0.00",
- "groups": [
- {
- "id": 71,
- "kpi_template_id": 71,
- "name": "gr",
- "created_by": 1,
- "updated_by": 1,
- "created_at": "2022-12-24 20:44:49",
- "updated_at": "2022-12-24 20:44:49",
- "target": 0,
- "weight": 0,
- "indicators": [
- {
- "id": 67,
- "kpi_template_group_id": 71,
- "name": "Irma Robertson",
- "weight": "0.00",
- "target": 0,
- "automated_code": null,
- "created_by": 1,
- "updated_by": 1,
- "created_at": "2022-12-24 21:39:24",
- "updated_at": "2022-12-24 21:39:24",
- "scores": [
- {
- "id": 13,
- "kpi_template_indicator_id": 67,
- "description": "Ea corrupti recusan",
- "score": 0,
- "created_by": 1,
- "updated_by": 1,
- "created_at": "2022-12-24 21:59:21",
- "updated_at": "2022-12-24 21:59:21"
}
], - "selected": {
- "notes": "lorem ipsum"
}
}
]
}
]
}
}{- "id": 7,
- "name": "cuy",
- "comment": "",
- "date": "2022-12-26 00:00:00",
- "employee": {
- "id": 1,
- "code": "dev-01",
- "tax_identification_number": "000000000000000",
- "name": "employee one",
- "address": null,
- "city": null,
- "state": null,
- "country": null,
- "zip_code": null,
- "latitude": null,
- "longitude": null,
- "phone": null,
- "phone_cc": null,
- "email": null,
- "bpjs": "000000000000000",
- "resign_date": "2022-01-01 00:00:00",
- "personal_identity": "em01",
- "last_education": "S1",
- "birth_date": "1992-08-05",
- "birth_place": "lamongan",
- "employee_gender_id": 1,
- "employee_marital_status_id": 1,
- "married_with": null,
- "employee_religion_id": 3,
- "employee_group_id": 1,
- "employee_status_id": null,
- "employee_job_location_id": null,
- "join_date": "2022-01-01 00:00:00",
- "job_title": "developer",
- "kpi_template_id": 71,
- "notes": null,
- "daily_transport_allowance": 0,
- "functional_allowance": 0,
- "communication_allowance": 0,
- "branch_id": null,
- "user_id": 1,
- "created_by": 1,
- "updated_by": 1,
- "archived_by": null,
- "created_at": "2022-10-11 12:12:45",
- "updated_at": "2022-12-26 08:44:06",
- "archived_at": null,
- "label": "[dev-01] employee one"
}, - "weight": "0.000000",
- "target": 0,
- "score": 0,
- "status": "DRAFT",
- "score_percentage": 0,
- "scorer": {
- "id": 1,
- "name": "admin",
- "first_name": "admin",
- "last_name": "admin",
- "address": null,
- "phone": null,
- "email": "ans.cool.06@gmail.com",
- "created_at": "2022-07-17 21:33:57",
- "updated_at": "2022-07-17 21:33:57",
- "branch_id": null,
- "warehouse_id": null,
- "full_name": "admin admin"
}, - "groups": [
- {
- "id": 22,
- "kpi_id": 7,
- "name": "gr",
- "weight": 0,
- "target": 0,
- "score": 0,
- "score_percentage": 0,
- "indicators": [
- {
- "id": 52,
- "kpi_group_id": 22,
- "name": "Irma Robertson",
- "weight": "0.00",
- "target": 0,
- "score": 0,
- "notes": "",
- "comment": "kljn",
- "score_percentage": 0,
- "score_description": "",
- "automated_code": null,
- "attachment": "",
- "scores": [
- {
- "id": 51,
- "kpi_indicator_id": 52,
- "description": "Ea corrupti recusan",
- "score": 0,
- "created_at": "2022-12-26T01:27:07.000000Z",
- "updated_at": "2022-12-26T01:27:07.000000Z",
- "status": "DRAFT"
}
], - "selected": {
- "comment": "kljn",
- "attachment": "",
- "notes": "cxzcxzcxzcxz"
}
}
]
}
]
}| to required | string |
| name required | string |
| employeeName required | string |
| startDate required | date |
| endDate required | date |
{- "to": "staf-one@point.com",
- "name": "person one",
- "employeeName": "employee one",
- "startDate": "2022-12-01",
- "endDate": "2022-12-07"
}{- "message": "Success Sent KPI Reminder"
}